# Re: \[PATCH v3 1/3\] block: introduce zone\_write\_granularity limit

- List: linux-block
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-block/2021/01/6400427/t

## Re: \[PATCH v3 1/3\] block: introduce zone\_write\_granularity limit

- From: Martin K. Petersen \<hidden\>
- Date: 2021-01-23 02:44:05 
- Message: https://ratatoskr.run/linux-block/2021/01/6400427.md

```text

Damien,

> To solve this, introduce the zone_write_granularity queue limit to
> indicate the alignment constraint, in bytes, of write operations into
> zones of a zoned block device. This new limit is exported as a
> read-only sysfs queue attribute and the helper
> blk_queue_zone_write_granularity() introduced for drivers to set this
> limit. The scsi disk driver is modified to use this helper to set
> host-managed SMR disk zone write granularity to the disk physical
> block size. The ZNS support code of the NVMe driver is also modified
> to use this helper to set the new limit to the logical block size of
> the namespace. The nullblk driver is similarly modified too.

Looks fine.

Reviewed-by: Martin K. Petersen <redacted>

-- 
Martin K. Petersen	Oracle Linux Engineering
```
