]> 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:40:00 +0000 (20:40 +0300)
commitc6a1a755b06c7a61b69a5877f2a414c89f02504c
treee5530d82ef1c74b742e75ae04a5bd4ed320bfb51
parenta166650abcb1f43aa60a32c64db1cf27cf6d0c10
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