aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_dir_leaf.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2006-05-23 11:23:49 +0200
committerLinus Torvalds <[email protected]>2006-05-23 10:39:43 -0700
commitfd0ff8aa1d95a896b3627bc62d42d6d002ac0bc3 (patch)
treee4ba36d57ca288eeaebdc882b988833e86607b22 /fs/xfs/xfs_dir_leaf.c
parent0f0410823792ae0ecb45f2578598b115835ffdbb (diff)
[PATCH] blk: fix gendisk->in_flight accounting during barrier sequence
While executing barrrier sequence, the bar_rq which carries actual write was accounted as normal IO on completion, while it wasn't on queueing. This caused gendisk->in_flight to be decremented by 1 after each barrier thus messed up statistics. This patch makes bar_rq not accounted as normal IO. As the containing barrier request as a whole is accounted, part of it shouldn't be. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_dir_leaf.c')
0 files changed, 0 insertions, 0 deletions