]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: requeue blocked op before flush it was blocked on 3931/head
authorSage Weil <sage@redhat.com>
Mon, 12 Jan 2015 01:28:04 +0000 (17:28 -0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 10 Mar 2015 22:33:52 +0000 (23:33 +0100)
commit66b13f2beff702c3b0bcb0aaa8da4e12d594eddf
tree28727c38e62a95976d582e5a711e145a181a165a
parentb5a67f0e1d15385bc0d60a6da6e7fc810bde6047
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