]> www.infradead.org Git - users/jedix/linux-maple.git/commit
null_blk: Introduce the zone_full parameter
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 4 Jul 2024 05:28:12 +0000 (14:28 +0900)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jul 2024 06:42:04 +0000 (00:42 -0600)
commitf4d5dc33c823ef1d7ccbbd2d1e40b871fad0012b
tree089925203b1f90bd97b20f2dc211cfdada230b15
parentdd54fd4e1780b349043f2d74784b8b702dbd84e9
null_blk: Introduce the zone_full parameter

Allow creating a zoned null_blk device with the initial state of its
sequential write required zones to be FULL. This is convenient to avoid
having to first write these zones to perform read performance evaluation
or test zone management operations such as zone reset (and zone reset
all).

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240704052816.623865-2-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c
drivers/block/null_blk/null_blk.h
drivers/block/null_blk/zoned.c