summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-02-12 10:13:04 -0700
committerJens Axboe <axboe@kernel.dk>2018-02-12 10:13:04 -0700
commit5bdc45228a8cc99bb0f88565ddc12c6fdf7a9cdc (patch)
tree5b4ecb56c3ced1cf433a44964f58077455907e54 /debug.h
parent5ec3bc5401f354444bdc0ce3c240df664f50d520 (diff)
downloadfio-5bdc45228a8cc99bb0f88565ddc12c6fdf7a9cdc.tar.gz
fio-5bdc45228a8cc99bb0f88565ddc12c6fdf7a9cdc.tar.bz2
filesetup: convert root flush warning to fio_did_warn()
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 68a5adca..7e8c2240 100644
--- a/debug.h
+++ b/debug.h
@@ -39,6 +39,10 @@ static inline bool fio_did_warn(unsigned int mask)
return false;
}
+enum {
+ FIO_WARN_ROOT_FLUSH = 1,
+};
+
#ifdef FIO_INC_DEBUG
struct debug_level {
const char *name;