aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2011-06-15 11:41:48 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2011-07-15 04:32:11 -0400
commit7cf8dcd3b68a760d66fbc7f0d75d3fbb8f21775d (patch)
treef529dace79c044e6128e9cf283a5c1a584fed5db /fs/gfs2/glops.c
parent17d539f0499fa2c0321b7c260831cca2bb36d119 (diff)
GFS2: Automatically adjust glock min hold time
This patch is a performance improvement for GFS2 in a clustered environment. It makes the glock hold time self-adjusting. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r--fs/gfs2/glops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index 95788ae436c..a4222c3f599 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -551,7 +551,6 @@ const struct gfs2_glock_operations gfs2_inode_glops = {
551 .go_lock = inode_go_lock, 551 .go_lock = inode_go_lock,
552 .go_dump = inode_go_dump, 552 .go_dump = inode_go_dump,
553 .go_type = LM_TYPE_INODE, 553 .go_type = LM_TYPE_INODE,
554 .go_min_hold_time = HZ / 5,
555 .go_flags = GLOF_ASPACE, 554 .go_flags = GLOF_ASPACE,
556}; 555};
557 556
@@ -562,7 +561,6 @@ const struct gfs2_glock_operations gfs2_rgrp_glops = {
562 .go_unlock = rgrp_go_unlock, 561 .go_unlock = rgrp_go_unlock,
563 .go_dump = gfs2_rgrp_dump, 562 .go_dump = gfs2_rgrp_dump,
564 .go_type = LM_TYPE_RGRP, 563 .go_type = LM_TYPE_RGRP,
565 .go_min_hold_time = HZ / 5,
566 .go_flags = GLOF_ASPACE, 564 .go_flags = GLOF_ASPACE,
567}; 565};
568 566