]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: fix DynamicPerfStats usage in ClientRequest
authorSamuel Just <sjust@redhat.com>
Sat, 5 Apr 2025 01:57:33 +0000 (18:57 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 28 Apr 2025 21:19:27 +0000 (21:19 +0000)
commit794bb024efa94cb2bb2a90df226bab05c8b9449b
treebcc1d9ab1d47b38e7025f2f58c36b9670ab299ff
parent6da6b0f83cbe18520566ca91fef609de23b399a5
crimson: fix DynamicPerfStats usage in ClientRequest

ClientRequest::get_connection() return l_conn, which will be
null by the time PG::add_client_request_lat is called in
ClientRequest::do_process.  Modify get_connection() to
return a Connection& from whichever of l_conn or r_conn
isn't null.

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