]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: requeue blocked op before flush it was blocked on 4041/head
authorSage Weil <sage@redhat.com>
Mon, 12 Jan 2015 01:28:04 +0000 (17:28 -0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 17 Mar 2015 16:27:19 +0000 (17:27 +0100)
commit5771f57af731e61bf70f630cf85f5b94dcfd1edb
tree891a68246e5e795a8cae3a980663990ae87570b6
parent938e03630e075af03780da139ae879b5b0377734
osd: requeue blocked op before flush it was blocked on

If we have request A (say, cache-flush) that blocks things, and then
request B that gets blocked on it, and we have an interval change, then we
need to requeue B first, then A, so that the resulting queue will keep
A before B and preserve the order.

This was observed on this firefly run:

  ubuntu@teuthology:/a/sage-2015-01-09_21:43:43-rados-firefly-distro-basic-multi/694675

Backport: giant, firefly
Fixes: #10512
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 11bdfb4131ecac16d4a364d651c6cf5d1d28c702)
src/osd/ReplicatedPG.cc