summaryrefslogtreecommitdiffstats
path: root/src/osd/scrubber/scrub_reservations.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/scrubber/scrub_reservations.h')
-rw-r--r--src/osd/scrubber/scrub_reservations.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/scrubber/scrub_reservations.h b/src/osd/scrubber/scrub_reservations.h
index 173b23d7db5..f5eca48b888 100644
--- a/src/osd/scrubber/scrub_reservations.h
+++ b/src/osd/scrubber/scrub_reservations.h
@@ -157,13 +157,13 @@ class ReplicaReservations {
// note: 'public', as accessed via the 'standard' dout_prefix() macro
std::ostream& gen_prefix(std::ostream& out, std::string fn) const;
+ /// The number of requests that have been sent (and not rejected) so far.
+ size_t active_requests_cnt() const;
+
private:
/// send 'release' messages to all replicas we have managed to reserve
void release_all();
- /// The number of requests that have been sent (and not rejected) so far.
- size_t active_requests_cnt() const;
-
/**
* Send a reservation request to the next replica.
* - if there are no more replicas to send requests to, return true