GFS2: Add origin indicator to glock demote tracing
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Apr 2013 09:32:05 +0000 (10:32 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Apr 2013 09:32:05 +0000 (10:32 +0100)
commit7bd8b2eb32c404ebe61986083ce02642b6ff3bf6
treecd8f84f3b8e6a133bc0d0afb4499e1d41663a53c
parent81ffbf654f0cfeeb44e69832b3d301958a4108d8
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>
fs/gfs2/glock.c
fs/gfs2/trace_gfs2.h