diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2011-07-26 02:12:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 05:57:11 +0200 |
commit | 99b12e3d882bc7ebdfe0de381dff3b16d21c38f7 (patch) | |
tree | 2aa21f5b5a6e03e49cd7af4dbd1b38ec451b09d7 /arch/h8300 | |
parent | tmpfs: simplify unuse and writepage (diff) | |
download | linux-99b12e3d882bc7ebdfe0de381dff3b16d21c38f7.tar.xz linux-99b12e3d882bc7ebdfe0de381dff3b16d21c38f7.zip |
writeback: account NR_WRITTEN at IO completion time
NR_WRITTEN is now accounted at block IO enqueue time, which is not very
accurate as to common understanding. This moves NR_WRITTEN accounting to
the IO completion time and makes it more consistent with BDI_WRITTEN,
which is used for bandwidth estimation.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Michael Rubin <mrubin@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions