]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: deprecate [no]cephx_require_signatures options
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jan 2021 14:41:14 +0000 (15:41 +0100)
committerJeff Layton <jlayton@kernel.org>
Sat, 6 Feb 2021 11:52:09 +0000 (06:52 -0500)
commitcc5283a49f7a7074e6412485380fdb7a824d3f4e
tree8d8977baaa4a5caa79f83e4621bcb4e50143c825
parent978c16db431d2be0ea976385e8d1b3059c5a3065
libceph: deprecate [no]cephx_require_signatures options

These options were introduced in 3.19 with support for message signing
and are rather useless, as explained in commit a51983e4dd2d ("libceph:
add nocephx_sign_messages option").  Deprecate them.

In case there is someone out there with a cluster that lacks support
for MSG_AUTH feature (very unlikely but has to be considered since we
haven't formally raised the bar from argonaut to bobtail yet), make
nocephx_sign_messages also waive MSG_AUTH requirement.  This is probably
how it should have been done in the first place -- if we aren't going
to sign, requiring the signing feature makes no sense.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/libceph.h
net/ceph/ceph_common.c