]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/.../replicated_request: hold pg ref until complete() resolves
authorSamuel Just <sjust@redhat.com>
Fri, 10 Jan 2025 03:44:45 +0000 (03:44 +0000)
committerSamuel Just <sjust@redhat.com>
Fri, 10 Jan 2025 03:45:35 +0000 (03:45 +0000)
commitfc52858487715724bad64b97d38a914a69a36efc
tree0d81f439d3a175edd7a62a4d94b882e9c665593d
parent321131660809c3f28c5956e4ea7512aeb0427a96
crimson/.../replicated_request: hold pg ref until complete() resolves

02b70a62a4 moved the call to complete() into the finally block,
so we need to hold a reference to the pg until the complete()
resolves.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/osd_operations/replicated_request.cc