summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-03-06 12:42:57 -0700
committerJens Axboe <axboe@kernel.dk>2018-03-06 12:42:57 -0700
commit825b0a75ded0b3bec4d70ea8ea50af3cad7abab5 (patch)
tree5573c29a4b0e471fd6beef424778c4b8a9fc8386 /debug.h
parentb979af5cba25e31dc2a8f2fd89ac5e40c24b6519 (diff)
downloadfio-825b0a75ded0b3bec4d70ea8ea50af3cad7abab5.tar.gz
fio-825b0a75ded0b3bec4d70ea8ea50af3cad7abab5.tar.bz2
Don't make fadvise failure fatal
It's just an advisory hint. Warn once that it failed, then march on. Fixes: https://github.com/axboe/fio/issues/554 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index ba622146..ac5f2ccd 100644
--- a/debug.h
+++ b/debug.h
@@ -43,6 +43,7 @@ enum {
FIO_WARN_VERIFY_BUF = 2,
FIO_WARN_ZONED_BUG = 4,
FIO_WARN_IOLOG_DROP = 8,
+ FIO_WARN_FADVISE = 16,
};
#ifdef FIO_INC_DEBUG