]> git.baikalelectronics.ru Git - kernel.git/commit
block: add bdev_max_segments() helper
authorNaohiro Aota <naohiro.aota@wdc.com>
Fri, 8 Jul 2022 23:18:38 +0000 (08:18 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:41 +0000 (17:45 +0200)
commita21ffb2f262dc26e1ec0f3666e2501cb6ae977a4
tree1d702acd052fc95d5c9045fcf3c3fb17bb3b58fd
parent516a2d0521288803f47f3700614d99951f2843b5
block: add bdev_max_segments() helper

Add bdev_max_segments() like other queue parameters.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/linux/blkdev.h