[PATCH] disk_util: Allow an engine to turn off disk_util specifically
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 1eb55be43f708119f43c69ec3f40d4c112940413..85d55b4ca91e825320c6c3a3ae26938a89a2afc9 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -249,7 +249,8 @@ void init_disk_util(struct thread_data *td)
        dev_t dev;
        char *p;
 
-       if (!td->do_disk_util || (td->io_ops->flags & FIO_DISKLESSIO))
+       if (!td->do_disk_util ||
+           (td->io_ops->flags & (FIO_DISKLESSIO | FIO_NODISKUTIL)))
                return;
 
        /*