+extern unsigned int fio_debug_jobno, *fio_debug_jobp, *fio_warned;
+
+static inline bool fio_did_warn(unsigned int mask)
+{
+ if (*fio_warned & mask)
+ return true;
+
+ *fio_warned |= mask;
+ return false;
+}
+
+enum {
+ FIO_WARN_ROOT_FLUSH = 1,
+ FIO_WARN_VERIFY_BUF = 2,
+ FIO_WARN_ZONED_BUG = 4,
+ FIO_WARN_IOLOG_DROP = 8,
+ FIO_WARN_FADVISE = 16,
+ FIO_WARN_BTRACE_ZERO = 32,
+};
+