this addresses the FTBFS like
/usr/include/fmt/core.h:902:19: error: static assertion failed: formatting of non-void pointers is disallowed
902 | static_assert(!sizeof(T), "formatting of non-void pointers is disallowed");
| ^~~~~~~~~~
also, i think it is more helpful in this context to have the
notify id instead of the address, as we can use the id to reference
the notification printed by other logging messages.
Signed-off-by: Kefu Chai <kchai@redhat.com>
seastar::future<> Watch::start_notify(NotifyRef notify)
{
- logger().info("{} adding ¬ify={}", __func__, notify.get());
+ logger().info("{} adding notify(id={})", __func__, notify->ninfo.notify_id);
auto [ it, emplaced ] = in_progress_notifies.emplace(std::move(notify));
ceph_assert(emplaced);
ceph_assert(is_alive());