summaryrefslogtreecommitdiff
path: root/kernel/kexec_elf.c
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 /kernel/kexec_elf.c
parent0ec4d913ac69ec86757eec117fc2733018552aa7 (diff)
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 'kernel/kexec_elf.c')
0 files changed, 0 insertions, 0 deletions