[GFS2] increase default lock limit
authorDavid Teigland <teigland@redhat.com>
Thu, 25 Jan 2007 19:50:52 +0000 (13:50 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:37:59 +0000 (13:37 -0500)
Increase the number of locks at which point the dlm begins asking gfs to
reduce its lock usage.  The default value is largely arbitrary, but the
current value of 50,000 ends up limiting performance unnecessarily for too
many users.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/locking/dlm/lock_dlm.h

index 33af707..a87c7bf 100644 (file)
@@ -36,7 +36,7 @@
 
 #define GDLM_STRNAME_BYTES     24
 #define GDLM_LVB_SIZE          32
-#define GDLM_DROP_COUNT                50000
+#define GDLM_DROP_COUNT                200000
 #define GDLM_DROP_PERIOD       60
 #define GDLM_NAME_LEN          128