]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix the scrubber behavior on multiple preemption attempts 39145/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 28 Jan 2021 17:04:35 +0000 (19:04 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 29 Jan 2021 09:51:32 +0000 (11:51 +0200)
commit4cdb293e08f0ea066511c9e33f48635d20d58dd9
tree5a8fee5ba2cd2f15a84740cece6c0823734ff94a
parentf100f2f7f4e332ac784db44a35bf23cf53a43dff
osd: fix the scrubber behavior on multiple preemption attempts

Latest scrub code creates a time window in which a specific scrub
is marked as "preempted", but future preemptions are prohibited.
Write operations handled are then blocked but not restarted on time.

Fixes: https://tracker.ceph.com/issues/48793
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/pg_scrubber.cc