|author||Hannes Reinecke <email@example.com>||2016-10-18 15:40:33 +0900|
|committer||Jens Axboe <firstname.lastname@example.org>||2016-10-18 10:05:40 -0600|
block: Implement support for zoned block devices
Implement zoned block device zone information reporting and reset. Zone information are reported as struct blk_zone. This implementation does not differentiate between host-aware and host-managed device models and is valid for both. Two functions are provided: blkdev_report_zones for discovering the zone configuration of a zoned block device, and blkdev_reset_zones for resetting the write pointer of sequential zones. The helper function blk_queue_zone_size and bdev_zone_size are also provided for, as the name suggest, obtaining the zone size (in 512B sectors) of the zones of the device. Signed-off-by: Hannes Reinecke <email@example.com> [Damien: * Removed the zone cache * Implement report zones operation based on earlier proposal by Shaun Tancheff <firstname.lastname@example.org>] Signed-off-by: Damien Le Moal <email@example.com> Reviewed-by: Christoph Hellwig <firstname.lastname@example.org> Reviewed-by: Martin K. Petersen <email@example.com> Reviewed-by: Shaun Tancheff <firstname.lastname@example.org> Tested-by: Shaun Tancheff <email@example.com> Signed-off-by: Jens Axboe <firstname.lastname@example.org>
Diffstat (limited to 'block/Kconfig')
1 files changed, 8 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig
index 1d4d624..6b0ad08 100644
@@ -89,6 +89,14 @@ config BLK_DEV_INTEGRITY
T10/SCSI Data Integrity Field or the T13/ATA External Path
Protection. If in doubt, say N.
+ bool "Zoned block device support"
+ Block layer zoned block device support. This option enables
+ support for ZAC/ZBC host-managed and host-aware zoned block devices.
+ Say yes here if you have a ZAC or ZBC storage device.
bool "Block layer bio throttling support"
depends on BLK_CGROUP=y