From cca9af95b6bb77e329ed6faa67332c2b3c1dc2f7 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Wed, 31 May 2023 11:47:45 +0000 Subject: [PATCH] crimson/osd/watch: don't print bufferlists The bufferlists clutter the logs and don't infrom of anything useful: ``` DEBUG 2023-05-26 23:36:29,780 [shard 2] osd - send_completion sending notify replies: {notify_reply_t{watcher_gid=4220, watcher_cookie=139786421930752, bl=buffer::list(len=0, )}, notify_reply_t{watcher_gid=4220, watcher_cookie=139786422032096, bl=buffer::list(len=0, )}} ``` Signed-off-by: Matan Breizman (cherry picked from commit 3548489f622c50ccaa1d8c351e420873743ed980) --- src/crimson/osd/watch.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/crimson/osd/watch.cc b/src/crimson/osd/watch.cc index d52f9be23046c..21fcbbfd9cb34 100644 --- a/src/crimson/osd/watch.cc +++ b/src/crimson/osd/watch.cc @@ -222,8 +222,7 @@ bool notify_reply_t::operator<(const notify_reply_t& rhs) const std::ostream &operator<<(std::ostream &out, const notify_reply_t &rhs) { out << "notify_reply_t{watcher_gid=" << rhs.watcher_gid - << ", watcher_cookie=" << rhs.watcher_cookie - << ", bl=" << rhs.bl << "}"; + << ", watcher_cookie=" << rhs.watcher_cookie << "}"; return out; } -- 2.39.5