]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/.../client_request: complete_request() only in with_pg_process
authorSamuel Just <sjust@redhat.com>
Thu, 10 Oct 2024 00:59:20 +0000 (00:59 +0000)
committerSamuel Just <sjust@redhat.com>
Thu, 7 Nov 2024 18:29:42 +0000 (10:29 -0800)
commitbd5efa44b74ae03e095c70a88093ad4b02718aaa
tree8b48bcf6a68cb7fc8bfebe84cd0a2240d5bcbb92
parent293679dbb5d50e59d400e0929b42fc83e763f176
crimson/.../client_request: complete_request() only in with_pg_process

This avoids needing to annotate every exit point in
with_pg_process_interruptible with complete_request.  Regardless of the
result, completing with_pg_process_interruptible without an interruption
means that the request is over.

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