dataplacement: add a debug print for IOs
authorVincent Fu <vincent.fu@samsung.com>
Thu, 4 Apr 2024 18:11:42 +0000 (18:11 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Wed, 24 Apr 2024 17:44:09 +0000 (13:44 -0400)
This is useful for testing.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
dataplacement.c

index a409b8250f7be6ccfe4b7e987478c4f3fb855984..1d5b21edfd96bd204166609fccd262edf9809c20 100644 (file)
@@ -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);
 }