Re: [PATCH v2 0/9] Support zoned devices with gap zones

Douglas Gilbert
2022-04-26T01:57:02Z

On 2022-04-21 14:30, Bart Van Assche wrote:
> Hi Martin,
>
> In ZBC-2 support has been improved for zones with a size that is not a power
> of two by allowing host-managed devices to report gap zones. This patch adds
> support for zoned devices for which data zones and gap zones alternate if the
> distance between zone start LBAs is a power of two.
>
> Please consider this patch series for kernel v5.19.

whole series:
Acked-by: Douglas Gilbert <dgilbert@interlog.com>

> Changes compared to v1:
> - Made this patch series compatible with the zone querying code in BTRFS.
> - Addressed Damien's off-list review comments.
> - Added patch "Return early in sd_zbc_check_zoned_characteristics()" to this
> series.
>
> Bart Van Assche (9):
> scsi: sd_zbc: Improve source code documentation
> scsi: sd_zbc: Verify that the zone size is a power of two
> scsi: sd_zbc: Use logical blocks as unit when querying zones
> scsi: sd_zbc: Introduce struct zoned_disk_info
> scsi: sd_zbc: Return early in sd_zbc_check_zoned_characteristics()
> scsi: sd_zbc: Hide gap zones
> scsi_debug: Fix a typo
> scsi_debug: Rename zone type constants
> scsi_debug: Add gap zone support
>
> drivers/scsi/scsi_debug.c | 149 ++++++++++++++++++------
> drivers/scsi/sd.h | 32 ++++--
> drivers/scsi/sd_zbc.c | 236 +++++++++++++++++++++++++++++---------
> include/scsi/scsi_proto.h | 9 +-
> 4 files changed, 331 insertions(+), 95 deletions(-)
>