libceph, ceph: disambiguate ceph_connection_operations handlers
authorIlya Dryomov <idryomov@gmail.com>
Wed, 23 Dec 2020 15:32:05 +0000 (16:32 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 4 Jan 2021 16:31:32 +0000 (17:31 +0100)
commit4972cf605f8a10784bb9ec9bdf3465892fb547c8
tree13ffc11a970810040e3ef902956486f0b14141f5
parent10f42b3e648377b2f2f323a5530354710616c6cc
libceph, ceph: disambiguate ceph_connection_operations handlers

Since a few years, kernel addresses are no longer included in oops
dumps, at least on x86.  All we get is a symbol name with offset and
size.

This is a problem for ceph_connection_operations handlers, especially
con->ops->dispatch().  All three handlers have the same name and there
is little context to disambiguate between e.g. monitor and OSD clients
because almost everything is inlined.  gdb sneakily stops at the first
matching symbol, so one has to resort to nm and addr2line.

Some of these are already prefixed with mon_, osd_ or mds_.  Let's do
the same for all others.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/mds_client.c
net/ceph/mon_client.c
net/ceph/osd_client.c