aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@samsung.com>2024-04-04 18:11:42 +0000
committerVincent Fu <vincent.fu@samsung.com>2024-04-24 13:44:09 -0400
commit61d2213925323d4a88a5bf38be75122abb36c309 (patch)
tree8915986a42774efa8832c752caf88fe8b7c22a1e
parent33f5cb572c4b5856e18ff8705fe3e9e37da9e6bf (diff)
downloadfio-61d2213925323d4a88a5bf38be75122abb36c309.tar.gz
dataplacement: add a debug print for IOs
This is useful for testing. Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
-rw-r--r--dataplacement.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dataplacement.c b/dataplacement.c
index a409b8250..1d5b21edf 100644
--- a/dataplacement.c
+++ b/dataplacement.c
@@ -145,4 +145,5 @@ void dp_fill_dspec_data(struct thread_data *td, struct io_u *io_u)
io_u->dtype = td->o.dp_type == FIO_DP_FDP ? FDP_DIR_DTYPE : STREAMS_DIR_DTYPE;
io_u->dspec = dspec;
+ dprint(FD_IO, "dtype set to 0x%x, dspec set to 0x%x\n", io_u->dtype, io_u->dspec);
}