From: Prasanna Kumar Kalever Date: Fri, 28 Apr 2023 08:46:35 +0000 (+0530) Subject: librbd: cleanup few log lines X-Git-Tag: v18.1.0~95^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F51518%2Fhead;p=ceph.git librbd: cleanup few log lines Currently: 2023-04-28T12:20:17.135+0530 7f1a7ccd2640 20 librbd::ExclusiveLock: 0x7f1a4c000b60 block_requestsr=0 [...] 2023-04-28T12:20:17.135+0530 7f1a7ccd2640 20 librbd::ManagedLock: 0x7f1a4c000b78 is_lock_owner: =1 [...] 2023-04-18T21:18:50.695+0530 7f0a1ffff640 20 librbd::ImageWatcher: 0x7f0a10007840 remote async request finished: [4305,140018014309120,1] = -110 Signed-off-by: Prasanna Kumar Kalever (cherry picked from commit e558ec553aff87769b13288a0afd80c5e3d0f8d6) --- diff --git a/src/librbd/ExclusiveLock.cc b/src/librbd/ExclusiveLock.cc index 76945d8472e6..bc148b1f5cd4 100644 --- a/src/librbd/ExclusiveLock.cc +++ b/src/librbd/ExclusiveLock.cc @@ -95,7 +95,7 @@ void ExclusiveLock::block_requests(int r) { m_request_blocked_ret_val = r; } - ldout(m_image_ctx.cct, 20) << "r=" << r << dendl; + ldout(m_image_ctx.cct, 20) << ": r=" << r << dendl; } template diff --git a/src/librbd/ImageWatcher.cc b/src/librbd/ImageWatcher.cc index 85049fac74f9..08159d27092d 100644 --- a/src/librbd/ImageWatcher.cc +++ b/src/librbd/ImageWatcher.cc @@ -149,7 +149,7 @@ template void ImageWatcher::notify_async_complete(const AsyncRequestId &request, int r) { ldout(m_image_ctx.cct, 20) << this << " remote async request finished: " - << request << " = " << r << dendl; + << request << "=" << r << dendl; send_notify(new AsyncCompletePayload(request, r), new LambdaContext(boost::bind(&ImageWatcher::handle_async_complete, diff --git a/src/librbd/ManagedLock.cc b/src/librbd/ManagedLock.cc index bb11160cb541..8a05957ec675 100644 --- a/src/librbd/ManagedLock.cc +++ b/src/librbd/ManagedLock.cc @@ -122,7 +122,7 @@ bool ManagedLock::is_lock_owner(ceph::mutex &lock) const { break; } - ldout(m_cct, 20) << "=" << lock_owner << dendl; + ldout(m_cct, 20) << lock_owner << dendl; return lock_owner; }