Kernel Compilation Configuration¶
Several kernel compilation configuration options control zoned block device support features.
ZBD Core Support¶
The main option controlling the block layer zoned block device support, that is,
exposing zoned block devices through a block device file, is
CONFIG_BLK_DEV_ZONED. This option is part of the Enable the block layer top
Block layer zoned block device support option with
Without this configuration option set, users will not have access to the ZBD interface and support for zoned block devices will be disabled in all kernel subsystems (I/O schedulers, device mapper and file systems) that include support code for these devices.
Write Ordering Control¶
Write ordering control is achieved through the deadline and mq-deadline
block I/O scheduler. Enabling this scheduler is mandatory for zoned block
devices. This is controlled with the
CONFIG_MQ_IOSCHED_DEADLINE option that
can be selected from the IO Schedulers top menu.
I/O scheduler configuration with
deadline and mq-deadline zoned block device support is automatically enabled
CONFIG_BLK_DEV_ZONED configuration option is set.
Zoned block device support for the device mapper subsystem is automatically
enabled when the
CONFIG_BLK_DEV_ZONED option is set. This will enables support
for the dm-linear and dm-flakey targets. However, the dm-zoned
device mapper target must be enabled to be usable.
Enabling the dm-zoned target can be done by selecting the
option from the menu Device Drivers → Multiple devices driver support (RAID
and LVM) → Device mapper support → Drive-managed zoned block device target
dm-zoned device mapper target configuration with