]> git.baikalelectronics.ru Git - kernel.git/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)
commitd70aa6f45bf8126f215e9fbfb811c1cd40dd0feb
tree5b3753ff18c1da54bb860dbd67211e6abea78ca7
parentae6af9477edd4613c7c04093b8e17832927d4320
[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