]> err.no Git - linux-2.6/commit
[GFS2] Don't add glocks to the journal
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 8 Nov 2007 14:25:12 +0000 (14:25 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:52 +0000 (08:07 +0000)
commit2bcd610d2fdea608a8fdac32788fc35a32a2327c
tree5b3753ff18c1da54bb860dbd67211e6abea78ca7
parent8cbc4342478311c2a85260a7ca54d96cb7f71f7b
[GFS2] Don't add glocks to the journal

The only reason for adding glocks to the journal was to keep track
of which locks required a log flush prior to release. We add a
flag to the glock to allow this check to be made in a simpler way.

This reduces the size of a glock (by 12 bytes on i386, 24 on x86_64)
and means that we can avoid extra work during the journal flush.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/log.c
fs/gfs2/log.h
fs/gfs2/lops.c
fs/gfs2/ops_fstype.c
fs/gfs2/trans.c
fs/gfs2/trans.h