ac60a85 harness: Add fallback code for filesystems not supporting O_DIRECT

4 files Authored by guillem 4 years ago, Committed by jmoyer 4 years ago,
    harness: Add fallback code for filesystems not supporting O_DIRECT
    
    When running the harness on a filesystem such as a tmpfs, which do not
    support O_DIRECT, fallback to calls without the flag.
    
    Signed-off-by: Guillem Jover <guillem@hadrons.org>
    [JEM: change from duplicating the open call to using F_SETFL]
    [JEM: 18 and 21 require O_DIRECT-skip if not present]
    Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
    
        
file modified
+9 -2
file modified
+2 -0
file modified
+8 -2
file modified
+4 -1