summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk_zoned.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-09null_blk: add zone supportMatias Bjørling1-0/+149
Adds support for exposing a null_blk device through the zone device interface. The interface is managed with the parameters zoned and zone_size. If zoned is set, the null_blk instance registers as a zoned block device. The zone_size parameter defines how big each zone will be. Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>