summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2013-04-10 10:32:05 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2013-04-10 10:32:05 +0100
commit7bd8b2eb32c404ebe61986083ce02642b6ff3bf6 (patch)
treecd8f84f3b8e6a133bc0d0afb4499e1d41663a53c /fs/gfs2/glock.c
parent81ffbf654f0cfeeb44e69832b3d301958a4108d8 (diff)
downloadlinux-7bd8b2eb32c404ebe61986083ce02642b6ff3bf6.tar.bz2
GFS2: Add origin indicator to glock demote tracing
This adds the origin indicator to the trace point for glock demotion, so that it is possible to see where demote requests have come from. Note that requests generated from the demote_rq sysfs interface will show as remote, since they are intended to replicate exactly the effect of a demote reuqest from a remote node. It is still possible to tell these apart by looking at the process which initiated the demote request. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 77d7927bcd75..3b9e1788ebf9 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -926,7 +926,7 @@ static void handle_callback(struct gfs2_glock *gl, unsigned int state,
}
if (gl->gl_ops->go_callback)
gl->gl_ops->go_callback(gl, remote);
- trace_gfs2_demote_rq(gl);
+ trace_gfs2_demote_rq(gl, remote);
}
void gfs2_print_dbg(struct seq_file *seq, const char *fmt, ...)