]> 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)
commit0135fae43b034a821114eedbae633ae846bf056f
tree1d702acd052fc95d5c9045fcf3c3fb17bb3b58fd
parent95ee9acda467c8d8b977d7d327029c8acbdb25bc
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