fio: create over-arching data placement option
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index a499ff076b188c5cf6530892a4c1c7e1ce73d43b..86ad74245a5e72a333e3c330c06ecdf42d314c64 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -1065,8 +1065,8 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u)
                }
        }
 
-       if (td->o.fdp)
-               fdp_fill_dspec_data(td, io_u);
+       if (td->o.dp_type == FIO_DP_FDP)
+               dp_fill_dspec_data(td, io_u);
 
        if (io_u->offset + io_u->buflen > io_u->file->real_file_size) {
                dprint(FD_IO, "io_u %p, off=0x%llx + len=0x%llx exceeds file size=0x%llx\n",