]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/lockdep: increase max lock names 6961/head
authorSage Weil <sage@redhat.com>
Thu, 17 Dec 2015 13:52:15 +0000 (08:52 -0500)
committerSage Weil <sage@redhat.com>
Thu, 17 Dec 2015 13:52:15 +0000 (08:52 -0500)
Recently hit this limit with

 /a/sage-2015-12-16_21:46:23-rados-wip-sage-testing---basic-openstack/40275

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/lockdep.cc

index c39dbf0e3364af84ef2e4f994e36c77d92b14bbe..353830a08ba578020101c48bd3ea0c97c87041c1 100644 (file)
@@ -34,7 +34,7 @@ namespace std {
 
 /******* Constants **********/
 #define lockdep_dout(v) lsubdout(g_lockdep_ceph_ctx, lockdep, v)
-#define MAX_LOCKS  2000   // increase me as needed
+#define MAX_LOCKS  4096   // increase me as needed
 #define BACKTRACE_SKIP 2
 
 /******* Globals **********/