Re: [PATCH v8 05/10] block: Add core atomic write support
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.block,gmane.linux.kernel,gmane.linux.file-systems,gmane.linux.scsi,gmane.comp.file-systems.btrfs,gmane.linux.kernel.io-uring |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 17, 2024 at 12:56:01PM -0600, Keith Busch wrote: > I'm not sure I follow why these two need to be the same. I can see > checking for 'chunk_sectors % boundary_sectors_hw == 0', but am I > missing something else? > > The reason I ask, zone block devices redefine the "chunk_sectors" to > mean the zone size, and I'm pretty sure the typical zone size is much > larger than the any common atomic write size. Yeah. Then again atomic writes in the traditional sense don't really make sense for zoned devices anyway as the zoned devices never overwrite and require all data up to the write pointer to be valid. In theory they could be interpreted so that you don't get a partical write failure if you stick to the atomic write boundaries, but that is mostly pointless. -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>