summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-11-20 10:55:18 +0900
committerJens Axboe <axboe@kernel.dk>2020-12-07 17:36:04 -0700
commitea17fd354ca8afd3e8962a77236b1a9a59262fdd (patch)
tree57a404139c3d0ac980df9ce1af2cf5c85064ddf5 /Makefile
parent0ec4d913ac69ec86757eec117fc2733018552aa7 (diff)
downloadlinux-ea17fd354ca8afd3e8962a77236b1a9a59262fdd.tar.bz2
null_blk: Allow controlling max_hw_sectors limit
Add the module option and configfs attribute max_sectors to allow configuring the maximum size of a command issued to a null_blk device. This allows exercising the block layer BIO splitting with different limits than the default BLK_SAFE_MAX_SECTORS. This is also useful for testing the zone append write path of file systems as the max_hw_sectors limit value is also used for the max_zone_append_sectors limit. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions