]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: invalidating the cache shouldn't hold write lock 18947/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 15 Nov 2017 15:35:16 +0000 (10:35 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 Nov 2017 15:35:16 +0000 (10:35 -0500)
commit6a335481d20c6a765c84d561a01fb52172eccba4
tree1ad85ee2d2a88643ca79faaefe2c50b4304e9b7c
parentdb13e4757451b463e7fb65c43247e033f24d45e5
librbd: invalidating the cache shouldn't hold write lock

This can cause deadlock when readahead is in-progress since neither
can make forward progress.

Fixes: http://tracker.ceph.com/issues/22131
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc