]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: rename min_segment_size
authorKeith Busch <kbusch@kernel.org>
Mon, 20 Oct 2025 20:47:15 +0000 (13:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Oct 2025 13:39:39 +0000 (07:39 -0600)
commit5c5028ee594ce5f907ca6ad1c32cca6a15098464
tree1885cf9a72cb20586df9506bec8d08c57926f42a
parente5a82249d88c7063c4ac998704b0ae5784013976
block: rename min_segment_size

Despite its name, the block layer is fine with segments smaller that the
"min_segment_size" limit. The value is an optimization limit indicating
the largest segment that can be used without considering boundary
limits. Smaller segments can take a fast path, so give it a name that
reflects that: max_fast_segment_size.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
block/blk-settings.c
block/blk.h
include/linux/blkdev.h