aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-04-14 09:09:52 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2011-04-20 04:00:59 -0400
commit627c10b7e471b5dcfb7101d6cc74d219619c9bc4 (patch)
tree28b485c2ce46035da616c1a20f4ac92bae96427a /fs/gfs2/incore.h
parentdba898b02defa66e5fe493d58ec0293a940f9c93 (diff)
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>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 870a89d6d4d..48eb1eed51b 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -200,6 +200,8 @@ enum {
200 GLF_INITIAL = 10, 200 GLF_INITIAL = 10,
201 GLF_FROZEN = 11, 201 GLF_FROZEN = 11,
202 GLF_QUEUED = 12, 202 GLF_QUEUED = 12,
203 GLF_LRU = 13,
204 GLF_OBJECT = 14, /* Used only for tracing */
203}; 205};
204 206
205struct gfs2_glock { 207struct gfs2_glock {