From: Curt Wohlgemuth Date: Sat, 8 Oct 2011 03:54:10 +0000 (-0600) Subject: writeback: Add a 'reason' to wb_writeback_work X-Git-Tag: v3.2-rc1~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e175a1835ffc979e55787774e58ec79e41957d7;p=pandora-kernel.git writeback: Add a 'reason' to wb_writeback_work This creates a new 'reason' field in a wb_writeback_work structure, which unambiguously identifies who initiates writeback activity. A 'wb_reason' enumeration has been added to writeback.h, to enumerate the possible reasons. The 'writeback_work_class' and tracepoint event class and 'writeback_queue_io' tracepoints are updated to include the symbolic 'reason' in all trace events. And the 'writeback_inodes_sbXXX' family of routines has had a wb_stats parameter added to them, so callers can specify why writeback is being started. Acked-by: Jan Kara Signed-off-by: Curt Wohlgemuth Signed-off-by: Wu Fengguang --- Reading git-diff-tree failed