Re: [PATCH] file-posix: fix zone write granularity assignment for zoned block devices
Niklas Cassel <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu.block,gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <anYelpnMAJeFbs7h@ryzen> |
On Fri, Aug 07, 2026 at 08:02:57PM +0200, Niklas Cassel wrote: > In the ZBC and ZAC specifications, the requirement is that the write > granularity matches the physical block size. > > However, in the ZNS specification, the requirement is simply that the > write granularity matches the logical block size. > > See: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a805a4fa4fa376bbc145762bb8b09caa2fa8af48 > > In Linux, there is a zone_write_granularity sysfs property which abstracts > this away by providing, so let's make use of it. nit: this away, so let's make use of it.