[LTP] [PATCH v2 0/3] Remove O_DIRECT definition

Petr Vorel pvorel@suse.cz
Wed Jun 28 15:07:39 CEST 2023


Hi,

changes v1->v2:
Remove all O_DIRECT fallback definitions and add a note to define
_GNU_SOURCE to lapi header instead (v1 tried to add more archs, while
we could add current complete list it's error prone, using _GNU_SOURCE
is better).

Compilation tested:
https://github.com/pevik/ltp/actions/runs/5401264765

Kind regards,
Petr

Petr Vorel (3):
  lapi/fcntl.h: Remove O_DIRECT definition
  fsstress/global.h: Use _GNU_SOURCE
  ltpscsi/scsimain.c: Remove O_DIRECT fallback definition

 include/lapi/fcntl.h                        | 5 ++---
 testcases/kernel/fs/fsstress/global.h       | 8 +-------
 testcases/kernel/fs/scsi/ltpscsi/scsimain.c | 5 +----
 3 files changed, 4 insertions(+), 14 deletions(-)

-- 
2.40.1



More information about the ltp mailing list