diff options
author | Curt Wohlgemuth <curtw@google.com> | 2011-10-08 05:54:10 +0200 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-10-30 17:33:36 +0100 |
commit | 0e175a1835ffc979e55787774e58ec79e41957d7 (patch) | |
tree | 6ec4b65a8de4e9d1c12d26a1079079ed81d79450 /net/rds | |
parent | writeback: send work item to queue_io, move_expired_inodes (diff) | |
download | linux-0e175a1835ffc979e55787774e58ec79e41957d7.tar.xz linux-0e175a1835ffc979e55787774e58ec79e41957d7.zip |
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 <jack@suse.cz>
Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions