Re: [PATCH 24/27] block: add a bdev_discard_granularity helper

David Sterba
2022-04-07T15:32:34Z

On Wed, Apr 06, 2022 at 08:05:13AM +0200, Christoph Hellwig wrote:
> Abstract away implementation details from file systems by providing a
> block_device based helper to retreive the discard granularity.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> block/blk-lib.c | 5 ++---
> drivers/block/drbd/drbd_nl.c | 9 +++++----
> drivers/block/drbd/drbd_receiver.c | 3 +--
> drivers/block/loop.c | 2 +-
> drivers/target/target_core_device.c | 3 +--

For

> fs/btrfs/ioctl.c | 12 ++++--------

Acked-by: David Sterba <dsterba@suse.com>