Skip to content
Commit 26308eab authored by Jerome Marchand's avatar Jerome Marchand Committed by Jens Axboe
Browse files

block: fix inconsistency in I/O stat accounting code



This forces in_flight to be zero when turning off or on the I/O stat
accounting and stops updating I/O stats in attempt_merge() when
accounting is turned off.

Signed-off-by: default avatarJerome Marchand <jmarchan@redhat.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 6c7e8cee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment