]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Readahead: use correct lock when waiting on the pending ops 2893/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 10 Nov 2014 21:08:05 +0000 (16:08 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 11 Nov 2014 00:57:08 +0000 (19:57 -0500)
commit27049148c7045335a88c2da58343a7dc51ab3174
tree1806d34d93e35c731d8edae10a4a8cd01dccfd1b
parent17d517991c7d47f688c633a68df6b3d4c41afbf6
common/Readahead: use correct lock when waiting on the pending ops

Readahead was using the incorrect lock with the pending condition,
resulting in a failed assertion.  It now uses the lock associated
with pending ops.

Fixes: #10045
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/Readahead.cc