]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: invalidating the cache shouldn't hold write lock 19115/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 15 Nov 2017 15:35:16 +0000 (10:35 -0500)
committerPrashant D <pdhange@redhat.com>
Thu, 23 Nov 2017 04:11:59 +0000 (23:11 -0500)
commit0b433c285b6f968e19dccc0d0e524c6c4a86600f
tree7bb2e64814271bc66b83e0c8ce4c5188f2342243
parent8b0475db8b389043d88669cea2f34a31462452f6
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