From: Jason Dillaman Date: Tue, 20 Oct 2020 06:56:58 +0000 (-0400) Subject: librbd: increase debug logging in ImageCtx X-Git-Tag: v16.1.0~752^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=41a32b1205184de238fea680bc3f463ddfa43f45;p=ceph.git librbd: increase debug logging in ImageCtx Signed-off-by: Jason Dillaman --- diff --git a/src/librbd/ImageCtx.cc b/src/librbd/ImageCtx.cc index 39f4b0ffc4fd..ec54762ce01b 100644 --- a/src/librbd/ImageCtx.cc +++ b/src/librbd/ImageCtx.cc @@ -121,6 +121,10 @@ librados::IoCtx duplicate_io_ctx(librados::IoCtx& io_ctx) { asok_hook(nullptr), trace_endpoint("librbd") { + ldout(cct, 10) << this << " " << __func__ << ": " + << "image_name=" << image_name << ", " + << "image_id=" << image_id << dendl; + if (snap) snap_name = snap; @@ -147,6 +151,8 @@ librados::IoCtx duplicate_io_ctx(librados::IoCtx& io_ctx) { } ImageCtx::~ImageCtx() { + ldout(cct, 10) << this << " " << __func__ << dendl; + ceph_assert(config_watcher == nullptr); ceph_assert(image_watcher == NULL); ceph_assert(exclusive_lock == NULL);