Skip to content
Commit ea2c18e1 authored by Masato Suzuki's avatar Masato Suzuki Committed by Jens Axboe
Browse files

null_blk: Add conventional zone configuration for zoned support



Allow the creation of conventional zones by adding the zone_nr_conv
configuration attribute. This new attribute is used only for zoned devices
and indicates the number of conventional zones to create. The default value
is 0. Since host-managed zoned block devices must always have at least one
sequential zone, if the value of zone_nr_conv is larger than or equal to
the total number of zones of the device nr_zones, zone_nr_conv is
automatically changed to nr_zones - 1.

Reviewed-by: default avatarMatias Bjorling <matias.bjorling@wdc.com>
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: default avatarMasato Suzuki <masato.suzuki@wdc.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 85758777
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment