blktrace: ignore 0 byte writes
authorJens Axboe <axboe@kernel.dk>
Thu, 26 Apr 2018 19:23:10 +0000 (13:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 26 Apr 2018 19:23:10 +0000 (13:23 -0600)
commit897c606a258e1ac7a21fd30ff3a5de59a3d097a1
tree9c0172da6ba443f904c442399ade87362d00b3be
parentacaba886ece0529e427b4e1679a88891539e219d
blktrace: ignore 0 byte writes

They cause fio to exit replay, but then retry since we didn't meet
our IO limit. When we retry, we attempt to close files that the
trace already closed, and we crash.

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