Bläddra i källkod

[GFS2] increase default lock limit

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>
David Teigland 18 år sedan
förälder
incheckning
2f708649ba
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      fs/gfs2/locking/dlm/lock_dlm.h

+ 1 - 1
fs/gfs2/locking/dlm/lock_dlm.h

@@ -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