1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 16:53:58 -05:00
linux/net/ceph
Ilya Dryomov a5cbd5fc22 libceph, ceph: get and handle cluster maps with addrvecs
In preparation for msgr2, make the cluster send us maps with addrvecs
including both LEGACY and MSGR2 addrs instead of a single LEGACY addr.
This means advertising support for SERVER_NAUTILUS and also some older
features: SERVER_MIMIC, MONENC and MONNAMES.

MONNAMES and MONENC are actually pre-argonaut, we just never updated
ceph_monmap_decode() for them.  Decoding is unconditional, see commit
23c625ce30 ("libceph: assume argonaut on the server side").

SERVER_MIMIC doesn't bear any meaning for the kernel client.

Since ceph_decode_entity_addrvec() is guarded by encoding version
checks (and in msgr2 case it is guarded implicitly by the fact that
server is speaking msgr2), we assume MSG_ADDR2 for it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-12-14 23:21:50 +01:00
..
crush treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
armor.c
auth.c libceph: amend cephx init_protocol() and build_request() 2020-12-14 23:21:50 +01:00
auth_none.c libceph: drop ac->ops->name field 2020-12-14 23:21:50 +01:00
auth_none.h
auth_x.c libceph: drop ac->ops->name field 2020-12-14 23:21:50 +01:00
auth_x.h
auth_x_protocol.h libceph, ceph: incorporate nautilus cephx changes 2020-12-14 23:21:50 +01:00
buffer.c
ceph_common.c libceph: move away from global osd_req_flags 2020-06-16 16:01:53 +02:00
ceph_hash.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ceph_strings.c libceph: amend cephx init_protocol() and build_request() 2020-12-14 23:21:50 +01:00
cls_lock_client.c
crypto.c
crypto.h libceph, ceph: incorporate nautilus cephx changes 2020-12-14 23:21:50 +01:00
debugfs.c libceph: dump class and method names on method calls 2020-08-03 11:03:01 +02:00
decode.c libceph, ceph: get and handle cluster maps with addrvecs 2020-12-14 23:21:50 +01:00
Kconfig libceph: replace HTTP links with HTTPS ones 2020-08-03 11:05:26 +02:00
Makefile libceph: move msgr1 protocol implementation to its own file 2020-12-14 23:21:50 +01:00
messenger.c libceph: move msgr1 protocol specific fields to its own struct 2020-12-14 23:21:50 +01:00
messenger_v1.c libceph: move msgr1 protocol specific fields to its own struct 2020-12-14 23:21:50 +01:00
mon_client.c libceph, ceph: get and handle cluster maps with addrvecs 2020-12-14 23:21:50 +01:00
msgpool.c
osd_client.c libceph, ceph: get and handle cluster maps with addrvecs 2020-12-14 23:21:50 +01:00
osdmap.c libceph, ceph: get and handle cluster maps with addrvecs 2020-12-14 23:21:50 +01:00
pagelist.c
pagevec.c
snapshot.c
string_table.c
striper.c