]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[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 33af707a4d3f39eed36bfb1fdefb9ff5cc9b3117..a87c7bf3c568afd0a5a19252eb2e5a35c8c9d7b5 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