]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/lockdeps: use vector to allocate follows and follows_bt on heap
authorKefu Chai <kchai@redhat.com>
Mon, 8 Mar 2021 06:44:14 +0000 (14:44 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 8 Mar 2021 13:16:35 +0000 (21:16 +0800)
commitc582580b114e6e9343258c232aefc6db3c87ba18
treec530eaaafc7531a482e1c2b87408efedd0f4f3ce
parentef652f945a97515c7095c7e077fc92e6b759d820
common/lockdeps: use vector to allocate follows and follows_bt on heap

this allows us to increase MAX_LOCKS without being limited by the size
of .bss segment. as cephfs plans to use a large number of locks for
finer grained inode lock.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/lockdep.cc