# Re: \[PATCH v4 6/8\] zonefs: use zone write granularity as block size

- From: Chaitanya Kulkarni \<hidden\>
- Date: 2021-01-28 05:18:50 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/01/6400588
- Thread: https://ratatoskr.run/linux-block/2021/01/6400577/t.md

```text
On 1/27/21 20:47, Damien Le Moal wrote:
> Zoned block devices have different granularity constraints for write
> operations into sequential zones. E.g. ZBC and ZAC devices require that
> writes be aligned to the device physical block size while NVMe ZNS
> devices allow logical block size aligned write operations. To correctly
> handle such difference, use the device zone write granularity limit to
> set the block size of a zonefs volume, thus allowing the smallest
> possible write unit for all zoned device types.
>
> Signed-off-by: Damien Le Moal <redacted>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Martin K. Petersen <redacted>
Looks good.

Reviewed-by: Chaitanya Kulkarni <redacted>

```
