X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=io_u.c;h=7f52a243fbdbc8e2b12706c1f45c52716729a8ab;hb=d8005759746a2cb5c8269201911b1997aa714e80;hp=ec348781672bee90513b100485773c3bd83b85bf;hpb=67778e88b56f599cc43afbf471eecf179d3c98b1;p=fio.git diff --git a/io_u.c b/io_u.c index ec348781..7f52a243 100644 --- a/io_u.c +++ b/io_u.c @@ -410,14 +410,10 @@ out: return 0; } -void io_u_mark_depth(struct thread_data *td, struct io_u *io_u, - unsigned int nr) +void io_u_mark_depth(struct thread_data *td, unsigned int nr) { int index = 0; - if (io_u->ddir == DDIR_SYNC) - return; - switch (td->cur_depth) { default: index = 6; @@ -441,7 +437,6 @@ void io_u_mark_depth(struct thread_data *td, struct io_u *io_u, } td->ts.io_u_map[index] += nr; - td->ts.total_io_u[io_u->ddir] += nr; } static void io_u_mark_lat_usec(struct thread_data *td, unsigned long usec)