summaryrefslogtreecommitdiffstats
path: root/src/osd/scrubber/osd_scrub.cc
diff options
context:
space:
mode:
authorRonen Friedman <rfriedma@redhat.com>2024-06-04 11:02:55 +0200
committerRonen Friedman <rfriedma@redhat.com>2024-06-16 12:51:33 +0200
commit1deac158036fffa8c2745f27feffcceccb889c27 (patch)
tree529eafb970fcf89986a369e8d8f08918d2a116e9 /src/osd/scrubber/osd_scrub.cc
parentosd/scrub: allow new scrubs while reserving (diff)
downloadceph-1deac158036fffa8c2745f27feffcceccb889c27.tar.xz
ceph-1deac158036fffa8c2745f27feffcceccb889c27.zip
osd/scrub: do not track reserving state at OSD level
As we no longer block the initiation of new scrub sessions for an OSD for which any of its PGs is in the process of reserving scrub resources, there is no need to track the reserving state at the OSD level. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Diffstat (limited to 'src/osd/scrubber/osd_scrub.cc')
-rw-r--r--src/osd/scrubber/osd_scrub.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/osd/scrubber/osd_scrub.cc b/src/osd/scrubber/osd_scrub.cc
index 1df508d9eef..b1b063c484e 100644
--- a/src/osd/scrubber/osd_scrub.cc
+++ b/src/osd/scrubber/osd_scrub.cc
@@ -476,13 +476,3 @@ int OsdScrub::get_blocked_pgs_count() const
{
return m_queue.get_blocked_pgs_count();
}
-
-bool OsdScrub::set_reserving_now(spg_t reserving_id, utime_t now_is)
-{
- return m_queue.set_reserving_now(reserving_id, now_is);
-}
-
-void OsdScrub::clear_reserving_now(spg_t reserving_id)
-{
- m_queue.clear_reserving_now(reserving_id);
-}