block: introduce a write_stream_granularity queue limit
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2025 12:17:25 +0000 (17:47 +0530)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 May 2025 13:46:43 +0000 (07:46 -0600)
commitc23acfac10786ac5062a0615e23e68b913ac8da0
tree5f43ddf6849a05e0541e0138466ebb7f79331e1e
parentd2f526ba27d29c442542f7c5df0a86ef0b576716
block: introduce a write_stream_granularity queue limit

Export the granularity that write streams should be discarded with,
as it is essential for making good use of them.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20250506121732.8211-5-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/ABI/stable/sysfs-block
block/blk-sysfs.c
include/linux/blkdev.h