]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix the scrubber behavior on multiple preemption attempts 39284/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 28 Jan 2021 17:04:35 +0000 (19:04 +0200)
committerNeha Ojha <nojha@redhat.com>
Thu, 4 Feb 2021 00:23:51 +0000 (00:23 +0000)
commit44060aa1897b52d16a4668f351783750d30df4f6
tree8692f03947de4f6b169b02a676ac516822c71f3b
parent25ec8e173479e4152c3a3f2c86aa8bb98b59cb67
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>
(cherry picked from commit 4cdb293e08f0ea066511c9e33f48635d20d58dd9)
src/osd/pg_scrubber.cc