commit | 7b47ef52d0a2025fd1408a8a0990933b8e1e510f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <[email protected]> | Fri Apr 15 06:52:56 2022 +0200 |
committer | Jens Axboe <[email protected]> | Sun Apr 17 19:49:59 2022 -0600 |
tree | 7df157ba434f0911852a57837610cc4f8e28b70f | |
parent | 70200574cc229f6ba038259e8142af2aa09e6976 [diff] |
block: add a bdev_discard_granularity helper Abstract away implementation details from file systems by providing a block_device based helper to retrieve the discard granularity. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Acked-by: Christoph Böhmwalder <[email protected]> [drbd] Acked-by: Ryusuke Konishi <[email protected]> Acked-by: David Sterba <[email protected]> [btrfs] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>