[LTP] [PATCH 1/1] aio-stress: TCONF on O_DIRECT on tmpfs

Richard Palethorpe rpalethorpe@suse.de
Mon Jan 9 11:58:35 CET 2023


Hello,

Petr Vorel <pvorel@suse.cz> writes:

> Hi Andrea,
>
>> O_DIRECT is not supported on tmpfs. This flag is added by -O option,
>> thus cannot be filtered with .skip_filesystems.
>
> NOTE: it fixes
> aio-stress.c:1339: TBROK: open(file0.bin,16450,0600) failed: EINVAL (22)
>
> Kind regards,
> Petr

I merged this, although I don't think it is quite correct to say tmpfs
doesn't support O_DIRECT. It's more like it is in O_DIRECT mode by
default. Either way though we don't need to run the test with O_DIRECT
and without it.

-- 
Thank you,
Richard.


More information about the ltp mailing list