[PATCH 7/9] dataplacement: add a debug print for IOs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is useful for testing.

Signed-off-by: Vincent Fu <vincent.fu@xxxxxxxxxxx>
---
 dataplacement.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dataplacement.c b/dataplacement.c
index a409b825..1d5b21ed 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);
 }
-- 
2.43.0





[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux