diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 06:52:56 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 03:49:59 +0200 |
commit | 7b47ef52d0a2025fd1408a8a0990933b8e1e510f (patch) | |
tree | 7df157ba434f0911852a57837610cc4f8e28b70f /drivers/thunderbolt | |
parent | block: remove QUEUE_FLAG_DISCARD (diff) | |
download | linux-7b47ef52d0a2025fd1408a8a0990933b8e1e510f.tar.xz linux-7b47ef52d0a2025fd1408a8a0990933b8e1e510f.zip |
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 <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> [drbd]
Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Acked-by: David Sterba <dsterba@suse.com> [btrfs]
Link: https://lore.kernel.org/r/20220415045258.199825-26-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions