]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: recognize cephx_sign_messages option 6583/head
authorIlya Dryomov <idryomov@redhat.com>
Sat, 14 Nov 2015 15:06:03 +0000 (16:06 +0100)
committerIlya Dryomov <idryomov@redhat.com>
Sat, 14 Nov 2015 15:39:35 +0000 (16:39 +0100)
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
doc/man/8/rbd.rst
src/tools/rbd/action/Kernel.cc

index 826120fa1f2ccbb4d76e445ec5db639d0fb0b3f1..6173b053acb41ca77c7c3af61a5e3c4fc73c424e 100644 (file)
@@ -429,6 +429,10 @@ libceph (per client instance) options:
 
 * notcp_nodelay - Enable Nagle's algorithm on client sockets (since 4.0).
 
+* cephx_sign_messages - Enable message signing (since 4.4, default).
+
+* nocephx_sign_messages - Disable message signing (since 4.4).
+
 * mount_timeout=x - A timeout on various steps in `rbd map` and `rbd unmap`
   sequences (default is 60 seconds).  In particular, since 4.2 this can be used
   to ensure that `rbd unmap` eventually times out when there is no network
index 5daa925bf3c5ff435b9570ea2b237378137e800f..541da95c8b499760917c5269ce31a84d273c1659 100644 (file)
@@ -112,6 +112,9 @@ static int parse_map_options(char *options)
     } else if (!strcmp(this_char, "tcp_nodelay") ||
                !strcmp(this_char, "notcp_nodelay")) {
       put_map_option("tcp_nodelay", this_char);
+    } else if (!strcmp(this_char, "cephx_sign_messages") ||
+               !strcmp(this_char, "nocephx_sign_messages")) {
+      put_map_option("cephx_sign_messages", this_char);
     } else if (!strcmp(this_char, "mount_timeout")) {
       if (put_map_option_value("mount_timeout", value_char, map_option_int_cb))
         return -EINVAL;