options: Add zonecapacity option for zonemode=zbd
authorHans Holmberg <hans.holmberg@wdc.com>
Fri, 17 Jul 2020 09:36:33 +0000 (18:36 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jul 2020 15:17:31 +0000 (09:17 -0600)
commitb8dd975022e9d5b0d656de989d858772ecc005d2
tree8aadf8216dcccd4d7231211e873d797566948929
parent236d23a86d6e3c14b700496e0f196f88513a5f3e
options: Add zonecapacity option for zonemode=zbd

To test zone capacity handling by fio using regular block devices, add
zonecapacity option for zonemode=zbd. This new option allows specifying a
zone capacity smaller than the zone size. Similarly to the zonesize
option, the zonecapacity defined value applies to all emulated zones of
the device.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO
cconv.c
fio.1
options.c
thread_options.h
zbd.c