t/zbd: avoid test case 31 failure with small devices
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 89f3d7892eb4c7ebfbfc5f17d371496b3b34928a..a090e12122642f238569f9fa663ab44d5091bef6 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -1065,7 +1065,7 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u)
                }
        }
 
-       if (td->o.fdp)
+       if (td->o.dp_type != FIO_DP_NONE)
                dp_fill_dspec_data(td, io_u);
 
        if (io_u->offset + io_u->buflen > io_u->file->real_file_size) {