diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-04-18 17:18:38 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-04-20 12:01:58 +0400 |
commit | c83ae9cad8776bab153a05cc466be39f14011091 (patch) | |
tree | b8ae7e94b03e3e6d21df24ff41d466ea552b6ccb /fs/gfs2/log.c | |
parent | 4667a0ec32867865fd4deccf834594b3ea831baf (diff) | |
download | linux-c83ae9cad8776bab153a05cc466be39f14011091.tar.xz |
GFS2: Add an AIL writeback tracepoint
Add a tracepoint for monitoring writeback of the AIL.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r-- | fs/gfs2/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index 03e00417061b..ad1f1887633f 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c @@ -144,6 +144,7 @@ void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) struct list_head *head = &sdp->sd_ail1_list; struct gfs2_ail *ai; + trace_gfs2_ail_flush(sdp, wbc, 1); spin_lock(&sdp->sd_ail_lock); list_for_each_entry_reverse(ai, head, ai_list) { if (wbc->nr_to_write <= 0) @@ -151,6 +152,7 @@ void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) gfs2_ail1_start_one(sdp, wbc, ai); /* This may drop ail lock */ } spin_unlock(&sdp->sd_ail_lock); + trace_gfs2_ail_flush(sdp, wbc, 0); } /** |