]> git-server-git.apps.pok.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>
Fri, 10 Sep 2021 12:47:41 +0000 (15:47 +0300)
commitbdfdf96d2f6c3cf7e5595ae5b8238fd4c0b3c6bc
treee8879e2cf222adfb1adfe8338d9489e02a1b46d7
parent77d703da2b9d42a9f2ed0859aab4416b4844a87b
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>
src/osd/PeeringState.cc