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)
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

diff --cc fs/gfs2/glock.c
Simple merge
Simple merge