From 0eefc80618aca2c5179993adfff135752fee8175 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 9 Feb 2021 15:03:58 +0800 Subject: [PATCH] crimson/osd: log when obc lock is acquired Signed-off-by: Xuehan Xu --- src/crimson/osd/osd_operations/client_request.cc | 1 + 1 file changed, 1 insertion(+) 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( -- 2.47.3