[PATCH] misc: Add support for Linux uio.h RWF_DONTCACHE flag

Xi Ruoyao xry111@xry111.site
Mon Sep 8 05:24:17 GMT 2025


On Sat, 2025-09-06 at 17:35 -0300, Adhemerval Zanella Netto wrote:
> 
> 
> On 28/08/25 02:56, Xi Ruoyao wrote:
> > Linux 6.14 adds the new flag for uncached buffered IO on a filesystem
> > supporting it.
> > 
> > This caused two test failures as these tests expected the flag
> > 0x00000080 is unused.  Add the flag definition to fix these tests on
> > Linux >= 6.14:
> > 
> >     FAIL: misc/tst-preadvwritev2
> >     FAIL: misc/tst-preadvwritev64v2
> > 
> > The test failures were not detected in routine test suite runs because
> > normally we create the test file in /tmp, where a tmpfs is usually
> > mounted, and tmpfs does not support this flag.  But it can be reproduced
> > with TMPDIR set to some directory in an ext4 file system.
> > 
> > Link: https://git.kernel.org/torvalds/c/af6505e5745b
> > Signed-off-by: Xi Ruoyao <xry111@xry111.site>
> > ---
> > 
> > Tested on x86_64 and loongarch64.
> 
> LGTM, thanks.
> 
> Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

I don't have a write access so it would need a maintainer to commit.

-- 
Xi Ruoyao <xry111@xry111.site>


More information about the Libc-alpha mailing list