]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
CollectionIndex: Collection name is added to the access_lock name 2283/head
authorSomnath Roy <somnath.roy@sandisk.com>
Mon, 18 Aug 2014 23:59:36 +0000 (16:59 -0700)
committerSomnath Roy <somnath.roy@sandisk.com>
Wed, 20 Aug 2014 01:50:01 +0000 (18:50 -0700)
commit615d2d904024526cc58557ee5250c2536a3cd5c8
treed726fcad89e08341bba094e710e40f53d9b23ae5
parente4d238bbcfe3da4bc02c53b9d9204abab1d87ef1
CollectionIndex: Collection name is added to the access_lock name

The CollectionIndex constructor is changed to accept the coll_t
so that the collection name can be used to form access_lock(RWLock)
name.This is needed otherwise lockdep will report a recursive lock error
and assert. lockdep needs unique lock names for each Index object.

Fixes: #9145
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
src/os/CollectionIndex.h
src/os/FlatIndex.h
src/os/LFNIndex.h