summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.h
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2012-04-10 08:56:04 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2012-04-10 13:49:53 +0100
commitca9248d8337d525c2d2b26a1d8314478d15707fb (patch)
tree7b419d409416939ca951e56efdd2f4e8b9ae2607 /fs/ocfs2/file.h
parent5e2f7d617b574dadf3ad125e4821ce1b180b1626 (diff)
GFS2: Allow caching of rindex glock
This patch allows caching of the rindex glock. We were previously setting the GL_NOCACHE bit when the glock was released. That forced the rindex inode to be invalidated, which caused us to re-read rindex at the next access. However, it caused the glock to be unnecessarily bounced around the cluster. This patch allows the glock to remain cached, but it still causes the rindex to be re-read once it has been written to by gfs2_grow. Ben and I have tested single-node gfs2_grow cases and I've tested clustered gfs2_grow cases on my four-node cluster. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/ocfs2/file.h')
0 files changed, 0 insertions, 0 deletions