]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: add zone support
authorMatias Bjørling <matias.bjorling@wdc.com>
Fri, 6 Jul 2018 17:38:39 +0000 (19:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:55 +0000 (09:07 -0600)
commitf5817dcb738bb31ebc4b11ab8dcdefbc3aa938f6
tree4fb64aaae7642ec180fae7d9afd16ccd2c09b881
parent79781276451ec84fafe7cf23c379887bf4caffbf
null_blk: add zone support

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>
Documentation/block/null_blk.txt
drivers/block/Makefile
drivers/block/null_blk.c
drivers/block/null_blk.h
drivers/block/null_blk_zoned.c [new file with mode: 0644]