]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileStore::lfn_open: don't call get_index under fdcache_lock
authorSamuel Just <sam.just@inktank.com>
Tue, 18 Jun 2013 20:11:45 +0000 (13:11 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 18 Jun 2013 20:20:37 +0000 (13:20 -0700)
commitefcf6265bc2b919099453f901c10aadb3c3ee9d4
tree099681d3800cb57682c77eee404b8db6b557e0ad
parent6b52acc8502ec16e2d0b89d8caf6235ec45778cb
FileStore::lfn_open: don't call get_index under fdcache_lock

lfn_open() is called with indexes locked, so we cannot lock
and index under fdcache_lock.

Fixes: #5389
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/os/FileStore.cc