X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengines.c;h=7df0abac0bf9a427fbb8273ddf6f151797c8fead;hp=f976efbf693ec1b502041933442e70ab0b6d2852;hb=c8dcfd7edcdafc5108ed3d39db6093ae7d209040;hpb=ff58fcede39d16a2c642897cbe5a7f28b2da1950 diff --git a/ioengines.c b/ioengines.c index f976efbf..7df0abac 100644 --- a/ioengines.c +++ b/ioengines.c @@ -269,7 +269,8 @@ int td_io_queue(struct thread_data *td, struct io_u *io_u) if (ddir_rw(io_u->ddir)) { io_u_mark_depth(td, 1); td->ts.total_io_u[io_u->ddir]++; - } + } else if (io_u->ddir == DDIR_TRIM) + td->ts.total_io_u[2]++; } else if (ret == FIO_Q_QUEUED) { int r;