]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: print notify_id instead of its address
authorKefu Chai <kchai@redhat.com>
Wed, 9 Sep 2020 03:46:01 +0000 (11:46 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 9 Sep 2020 05:27:25 +0000 (13:27 +0800)
commit4234c3f6c0147f348c4955e8272aa241c77d3cf4
tree8cc514ab101818bff6ff8e609a2157dd841e61f8
parent2fa982eabcfe4502e1cce2a16eb5e4a5c545390b
crimson/osd: print notify_id instead of its address

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>
src/crimson/osd/watch.cc