diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2022-11-09 14:34:52 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-09 12:40:36 -0700 |
commit | 21b87a7d7564751590e3a38dfb243f9a0bbedbd2 (patch) | |
tree | b6e3df2ccc8fc479cfaa30debbc7f72074323f7f /drivers/xen/gntdev-dmabuf.c | |
parent | 258bea6388ac93f34561fd91064232d14e174bff (diff) | |
download | linux-21b87a7d7564751590e3a38dfb243f9a0bbedbd2.tar.bz2 |
drbd: disable discard support if granularity > max
The discard_granularity describes the minimum unit of a discard.
If that is larger than the maximal discard size, we need to disable
discards completely.
Reviewed-by: Joel Colledge <joel.colledge@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20221109133453.51652-3-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/xen/gntdev-dmabuf.c')
0 files changed, 0 insertions, 0 deletions