diff options
author | Josef Bacik <jbacik@fb.com> | 2018-07-16 12:12:23 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-16 10:15:19 -0600 |
commit | 71e9690b59e7349156025a514c29c29ef55b0175 (patch) | |
tree | 32bddd6d701c20793b1540e193bdaf285377f0ff /block/blk-mq.h | |
parent | d607eefa3b55c7b8cd9902e9209fc1235f88ccd9 (diff) |
blk-iolatency: truncate our current time
In our longer tests we noticed that some boxes would degrade to the
point of uselessness. This is because we truncate the current time when
saving it in our bio, but I was using the raw current time to subtract
from. So once the box had been up a certain amount of time it would
appear as if our IO's were taking several years to complete. Fix this
by truncating the current time so it matches the issue time. Verified
this worked by running with this patch for a week on our test tier.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions