[LTP] [PATCH v3] aio02: Drop O_DIRECT flag for tmpfs

Jan Stancek jstancek@redhat.com
Wed Feb 12 14:37:52 CET 2020



----- Original Message -----
> tmpfs doesn't support O_DIRECT flag, drop it. So user still can run aio02
> with different filesystem by mounting specified filesystem on $TMPDIR.
> 
> Also remove unused static value initialization.
> 
> Reviewed-by: Xiao Yang <ice_yangxiao@163.com>
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> ---
>  testcases/kernel/io/aio/aio02.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Acked-by: Jan Stancek <jstancek@redhat.com>



More information about the ltp mailing list