commit | c69d48540c201394d08cb4d48b905e001313d9b8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Apr 24 08:12:19 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 28 07:37:37 2009 +0200 |
tree | 6ad78b44cd7fc5d65a0c3bded49f8cb14f4790a9 | |
parent | c2553b5844b06910435e40cfab9e6f384840cb97 [diff] |
block: include discard requests in IO accounting We currently don't do merging on discard requests, but we potentially could. If we do, then we need to include discard requests in the IO accounting, or merging would end up decrementing in_flight IO counters for an IO which never incremented them. So enable accounting for discard requests. Problem found by Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>