iolog: fix issue with replay rate
authorJens Axboe <axboe@kernel.dk>
Sat, 14 Apr 2018 21:22:10 +0000 (15:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 14 Apr 2018 21:22:10 +0000 (15:22 -0600)
commitf4b49c5523f14f39ecae250c64f8f93a9e3c1855
tree0973825f44e70e133dab8a1fd3a022760cdd55f5
parentc479640d6208236744f0562b1e79535eec290e2b
iolog: fix issue with replay rate

We attempt to keep the replay rate accurate, but we mistakenly use
the 'delay' value which we have decremented along the way. Store
the original and use that for the stall detection.

This fixes replays going quicker than they should.

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