]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: re-cache peer_bytes on every peering state activate
authorMykola Golub <mgolub@suse.com>
Mon, 30 Aug 2021 06:58:04 +0000 (07:58 +0100)
committerMykola Golub <mgolub@suse.com>
Wed, 6 Oct 2021 17:39:14 +0000 (20:39 +0300)
commit2a0451af54173d92c8292686c370ea1b06a4730a
tree817d29379638825909cdc552364df09bf819c729
parent5f2dd55ed8843e09f1b4404dd97cbcd0ee86278e
osd: re-cache peer_bytes on every peering state activate

peer_bytes is used for backfill reservation request and may be
reset if backfill is interrupted, and we want it set back before
continuing backfill and re-sending the reservation request.

Fixes: https://tracker.ceph.com/issues/52448
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit bdfdf96d2f6c3cf7e5595ae5b8238fd4c0b3c6bc)
src/osd/PeeringState.cc