]> Git Repo - linux.git/commit
block: add a bdev_discard_granularity helper
authorChristoph Hellwig <[email protected]>
Fri, 15 Apr 2022 04:52:56 +0000 (06:52 +0200)
committerJens Axboe <[email protected]>
Mon, 18 Apr 2022 01:49:59 +0000 (19:49 -0600)
commit7b47ef52d0a2025fd1408a8a0990933b8e1e510f
tree7df157ba434f0911852a57837610cc4f8e28b70f
parent70200574cc229f6ba038259e8142af2aa09e6976
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]>
18 files changed:
block/blk-lib.c
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_receiver.c
drivers/block/loop.c
drivers/target/target_core_device.c
fs/btrfs/ioctl.c
fs/exfat/file.c
fs/ext4/mballoc.c
fs/f2fs/file.c
fs/fat/file.c
fs/gfs2/rgrp.c
fs/jfs/ioctl.c
fs/nilfs2/ioctl.c
fs/ntfs3/file.c
fs/ntfs3/super.c
fs/ocfs2/ioctl.c
fs/xfs/xfs_discard.c
include/linux/blkdev.h
This page took 0.102183 seconds and 4 git commands to generate.