]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: add "queue my request" flag to replica reservation messages
authorRonen Friedman <rfriedma@redhat.com>
Fri, 5 Jan 2024 15:07:19 +0000 (09:07 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 28 Jan 2024 15:40:02 +0000 (09:40 -0600)
commitc61bca6d6bac33e6d5c5af8b0f9ec77a229179d3
tree6102945d5d80f1169e64bcbfcffa37db150edd55
parentc6c05ab639f90d86bc65d5324fcfc87077b9a62b
osd/scrub: add "queue my request" flag to replica reservation messages

Up-to-date primaries will set this flag when sending a reservation
request. The replica OSD, if too busy to handle the request immediately, will queue
it until such time that the number of concurrent reservations is below the
configured limit. The queued requests are honored in FIFO order.

Old primaries will not set this flag, and will receive the expected
grant or deny reply immediately.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/messages/MOSDScrubReserve.h