commit | 26308eab69aa193f7b3fb50764a64ae14544a39b | [log] [tgz] |
---|---|---|
author | Jerome Marchand <jmarchan@redhat.com> | Fri Mar 27 10:31:51 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 07 08:12:38 2009 +0200 |
tree | 758f6100395a23228d042c3a9d6f7dc1922d7530 | |
parent | 6c7e8cee6a9128eeb7f83c3ad1cb243f77f5cb16 [diff] |
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: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>