]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::cancel_pull: requeue waiters as well 4415/head
authorSamuel Just <sjust@redhat.com>
Thu, 26 Mar 2015 17:26:48 +0000 (10:26 -0700)
committerxinxin shu <xinxin.shu@intel.com>
Tue, 21 Apr 2015 00:48:53 +0000 (08:48 +0800)
commitf33effccc0592fddfcd9c5c2f5c3385462aa9b84
treeeaa49f560be15108253cfd275c7df5426e7969e3
parent12143ff9b25fdd96f8d1a9cecb1329c7f354d414
ReplicatedPG::cancel_pull: requeue waiters as well

If we are in recovery_wait, we might not recover that object as part of
recover_primary for some time.  Worse, if we are waiting on a backfill
which is blocked waiting on a copy_from on the missing object in
question, it can become a dead lock.

Fixes: 11244
Backport: firefly
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 0b2e272430dd7433e6763be99b8a4cb127d9be19)
src/osd/ReplicatedPG.cc