From: Wu Fengguang Date: Tue, 26 Jul 2011 00:12:37 +0000 (-0700) Subject: writeback: account NR_WRITTEN at IO completion time X-Git-Tag: v3.1-rc1~241^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b12e3d882bc7ebdfe0de381dff3b16d21c38f7;p=pandora-kernel.git 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 Cc: Michael Rubin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed