From 7cf8dcd3b68a760d66fbc7f0d75d3fbb8f21775d Mon Sep 17 00:00:00 2001 From: Bob Peterson Date: Wed, 15 Jun 2011 11:41:48 -0400 Subject: 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 Signed-off-by: Steven Whitehouse --- fs/gfs2/glops.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fs/gfs2/glops.c') 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 = { .go_lock = inode_go_lock, .go_dump = inode_go_dump, .go_type = LM_TYPE_INODE, - .go_min_hold_time = HZ / 5, .go_flags = GLOF_ASPACE, }; @@ -562,7 +561,6 @@ const struct gfs2_glock_operations gfs2_rgrp_glops = { .go_unlock = rgrp_go_unlock, .go_dump = gfs2_rgrp_dump, .go_type = LM_TYPE_RGRP, - .go_min_hold_time = HZ / 5, .go_flags = GLOF_ASPACE, }; -- cgit v1.2.3-70-g09d2