Re: [PATCH 3/5] xfs: fix zoned write iomap flags assignments

Damien Le Moal <[email protected]>
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.stable
Organization Western Digital Research
Message-ID <[email protected]>
On 2026/08/11 9:48, Christoph Hellwig wrote:
> Don't overwrite IOMAP_F_DIRTY with IOMAP_F_ANON_WRITE, but ensure both
> flags are set instead.
> 
> Note that in practice this is harmless as all zoned writes force a metadata
> transaction anyway, but incorrectly assigned flags are still a landmine
> that will cause problems at some point.
> 
> Fixes: 058dd70c65ab ("xfs: implement buffered writes to zoned RT devices")
> Fixes: 2e2383405824 ("xfs: implement direct writes to zoned RT devices")
> Cc: <[email protected]> # v6.15
> Signed-off-by: Christoph Hellwig <[email protected]>
> Reviewed-by: Andrey Albershteyn <[email protected]>
> Reviewed-by: "Darrick J. Wong" <[email protected]>

Reviewed-by: Damien Le Moal <[email protected]>

-- 
Damien Le Moal
Western Digital Research
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.