diff options
author | Christoph Hellwig <hch@lst.de> | 2024-03-06 15:03:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-06 16:30:34 +0100 |
commit | 5eaee6e9c8f9940ecee93678972774fb8dd450d5 (patch) | |
tree | ac7f7b57e4c96a67d236a27f97fc1bbddd0dcdb5 /kernel/kcsan | |
parent | drbd: don't set max_write_zeroes_sectors in decide_on_discard_support (diff) | |
download | linux-5eaee6e9c8f9940ecee93678972774fb8dd450d5.tar.xz linux-5eaee6e9c8f9940ecee93678972774fb8dd450d5.zip |
drbd: split out a drbd_discard_supported helper
Add a helper to check if discard is supported for a given connection /
backing device combination.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Philipp Reisner <philipp.reisner@linbit.com>
Reviewed-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Tested-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20240306140332.623759-7-philipp.reisner@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/kcsan')
0 files changed, 0 insertions, 0 deletions