blktrace: make sure to account SYNC/TRIM at load time
authorJens Axboe <axboe@kernel.dk>
Fri, 27 Apr 2018 04:19:23 +0000 (22:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Apr 2018 04:19:23 +0000 (22:19 -0600)
commit811f54212d5cf271d35ddf7be22c6b5f35378177
tree46f6cb86586d540d0beaeb441084b3a7e5731099
parent38f68906332ef55f239418fc9e7af225e2f69063
blktrace: make sure to account SYNC/TRIM at load time

We currently only check for reads or writes, but it's OK to have
a workload that doesn't contain reads or writes. Only error if
we found no reads/writes/trims/syncs at all.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
blktrace.c