]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Improve tracing support (adds two flags)
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 14 Apr 2011 13:09:52 +0000 (14:09 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 20 Apr 2011 08:00:59 +0000 (09:00 +0100)
commitee013e989a2ec974af61e00a44dbec1b02a57430
tree28b485c2ce46035da616c1a20f4ac92bae96427a
parent7722ca21509d98791f721979553502cdab1fda3c
GFS2: Improve tracing support (adds two flags)

This adds support for two new flags. One keeps track of whether
the glock is on the LRU list or not. The other isn't really a
flag as such, but an indication of whether the glock has an
attached object or not. This indication is reported without
any locking, which is ok since we do not dereference the object
pointer but merely report whether it is NULL or not.

Also, this fixes one place where a tracepoint was missing, which
was at the point we remove deallocated blocks from the journal.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h
fs/gfs2/meta_io.c
fs/gfs2/trace_gfs2.h