diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2013-04-10 11:32:05 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-04-10 11:32:05 +0200 |
commit | 7bd8b2eb32c404ebe61986083ce02642b6ff3bf6 (patch) | |
tree | cd8f84f3b8e6a133bc0d0afb4499e1d41663a53c /fs/gfs2/glock.c | |
parent | GFS2: Add origin indicator to glock callbacks (diff) | |
download | linux-7bd8b2eb32c404ebe61986083ce02642b6ff3bf6.tar.xz linux-7bd8b2eb32c404ebe61986083ce02642b6ff3bf6.zip |
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.c | 2 |
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, ...) |