]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
FileStore: Introduced a RLock instead of WLock 2070/head
authorSomnath Roy <somnath.roy@sandisk.com>
Thu, 31 Jul 2014 22:03:53 +0000 (15:03 -0700)
committerSomnath Roy <somnath.roy@sandisk.com>
Thu, 14 Aug 2014 22:28:30 +0000 (15:28 -0700)
commitb24db81ea060b563ff9c2249b054064a27ec42e2
tree9f4c1254fdce0192870204e9ba300515b10ee010
parent3e7848d52bc4d5d5852ca79aad5ec3524b781feb
FileStore: Introduced a RLock instead of WLock

While calling index->collection_version, there is no need to
hold WLock at the index level. RLock should be sufficient.

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
src/os/FileStore.cc