From: Kefu Chai Date: Tue, 9 Feb 2021 07:03:58 +0000 (+0800) Subject: crimson/osd: log when obc lock is acquired X-Git-Tag: v17.1.0~2901^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0eefc80618aca2c5179993adfff135752fee8175;p=ceph.git crimson/osd: log when obc lock is acquired Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/osd/osd_operations/client_request.cc b/src/crimson/osd/osd_operations/client_request.cc index 899a065fc69b..c1542564224a 100644 --- a/src/crimson/osd/osd_operations/client_request.cc +++ b/src/crimson/osd/osd_operations/client_request.cc @@ -148,6 +148,7 @@ seastar::future<> ClientRequest::process_op(Ref &pg) } else { return with_blocking_future(handle.enter(pp(*pg).get_obc)).then( [this, pg]() mutable -> PG::load_obc_ertr::future<> { + logger().debug("{}: got obc lock", *this); op_info.set_from_op(&*m, *pg->get_osdmap()); return pg->with_locked_obc(m, op_info, this, [this, pg](auto obc) mutable { return with_blocking_future(handle.enter(pp(*pg).process)).then(