]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: use distinct wait list for scrub 13136/head
authorSage Weil <sage@redhat.com>
Tue, 31 Jan 2017 03:42:19 +0000 (22:42 -0500)
committerSage Weil <sage@redhat.com>
Tue, 31 Jan 2017 03:42:19 +0000 (22:42 -0500)
commit7a803bf683ac795eae86d5ec36a674dcc0e6cab1
tree352f41071ab41ac689997e664b2177ab2b9ad3a7
parent5f67cf97f988547de4f0ecd265b944e44187cab0
osd: use distinct wait list for scrub

We've traditionally (ab)used waiting_for_active for ops blocked
by scrub.  In order to preserve the op requeue ordering for
backoffs relating to unreadable and degraded, however, we need
to order the scrub waits different.  The first step is to have it
on its own list.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h