Skip to content

Commit e558ec5

Browse files
author
Prasanna Kumar Kalever
committed
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 <[email protected]>
1 parent 11b3cc2 commit e558ec5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/librbd/ExclusiveLock.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void ExclusiveLock<I>::block_requests(int r) {
9595
m_request_blocked_ret_val = r;
9696
}
9797

98-
ldout(m_image_ctx.cct, 20) << "r=" << r << dendl;
98+
ldout(m_image_ctx.cct, 20) << ": r=" << r << dendl;
9999
}
100100

101101
template <typename I>

src/librbd/ImageWatcher.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ template <typename I>
149149
void ImageWatcher<I>::notify_async_complete(const AsyncRequestId &request,
150150
int r) {
151151
ldout(m_image_ctx.cct, 20) << this << " remote async request finished: "
152-
<< request << " = " << r << dendl;
152+
<< request << "=" << r << dendl;
153153

154154
send_notify(new AsyncCompletePayload(request, r),
155155
new LambdaContext(boost::bind(&ImageWatcher<I>::handle_async_complete,

src/librbd/ManagedLock.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ bool ManagedLock<I>::is_lock_owner(ceph::mutex &lock) const {
122122
break;
123123
}
124124

125-
ldout(m_cct, 20) << "=" << lock_owner << dendl;
125+
ldout(m_cct, 20) << lock_owner << dendl;
126126
return lock_owner;
127127
}
128128

0 commit comments

Comments
 (0)