commit | 5b6f5c6609c530943310754028d2628d984b6595 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 11 10:21:43 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 11 10:21:43 2008 +0200 |
tree | 5626729e01b7b4ed4ef0a924bbd6f1b9d48a8ac9 | |
parent | 2577594dd6e2857d9efbf6bd81cd7ef507dbcd64 [diff] [blame] |
Older Linux versions do not have O_NOATIME Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/os/os-linux.h b/os/os-linux.h index 72950c0..791ec7a 100644 --- a/os/os-linux.h +++ b/os/os-linux.h
@@ -230,6 +230,10 @@ return 0; } +#ifdef O_NOATIME #define FIO_O_NOATIME O_NOATIME +#else +#define FIO_O_NOATIME 0 +#endif #endif