]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/watch: don't print bufferlists 53950/head
authorMatan Breizman <mbreizma@redhat.com>
Wed, 31 May 2023 11:47:45 +0000 (11:47 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 11 Oct 2023 11:40:25 +0000 (11:40 +0000)
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 <mbreizma@redhat.com>
(cherry picked from commit 3548489f622c50ccaa1d8c351e420873743ed980)

src/crimson/osd/watch.cc

index d52f9be23046c4198b6149137bd1871b09b70abe..21fcbbfd9cb3452bf281acb285b7843d86bc4237 100644 (file)
@@ -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;
 }