]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: log when obc lock is acquired 39348/head
authorKefu Chai <kchai@redhat.com>
Tue, 9 Feb 2021 07:03:58 +0000 (15:03 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Sun, 21 Feb 2021 11:15:14 +0000 (19:15 +0800)
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/osd/osd_operations/client_request.cc

index 899a065fc69b72adfbc75bd3beb475635d3e58ee..c1542564224a65da9da04cc1d4b864ff57d106b6 100644 (file)
@@ -148,6 +148,7 @@ seastar::future<> ClientRequest::process_op(Ref<PG> &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(