]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: invalidating the cache shouldn't hold write lock 19066/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 15 Nov 2017 15:35:16 +0000 (10:35 -0500)
committerPrashant D <pdhange@redhat.com>
Tue, 21 Nov 2017 03:38:26 +0000 (22:38 -0500)
commit2070fcf7d4260e3a13219ce708a46b2c550ccc14
treeafb05bf2c66c7a2728d8c326e078008b0008b92a
parent3e91197ccd0df2bb0560e057861a2f0639da02bd
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>
(cherry picked from commit 6a335481d20c6a765c84d561a01fb52172eccba4)
src/librbd/internal.cc