summaryrefslogtreecommitdiffstats
path: root/src/mds/MDSDaemon.cc
diff options
context:
space:
mode:
authorLeonid Usov <leonid.usov@ibm.com>2024-05-22 10:00:13 +0200
committerLeonid Usov <leonid.usov@ibm.com>2024-05-26 10:33:52 +0200
commitc395c78e09f9b41088801dcea1fab1cd10b0ba00 (patch)
treed1a348232b95dc7fede2497f2725859b5f35c075 /src/mds/MDSDaemon.cc
parentmds/quiesce: accept a regular file as the quiesce root (diff)
downloadceph-c395c78e09f9b41088801dcea1fab1cd10b0ba00.tar.xz
ceph-c395c78e09f9b41088801dcea1fab1cd10b0ba00.zip
mds: add `--lifetime` parameter to the `lock path` asok command
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Diffstat (limited to 'src/mds/MDSDaemon.cc')
-rw-r--r--src/mds/MDSDaemon.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc
index 8fb1109b8ca..6b0f975e665 100644
--- a/src/mds/MDSDaemon.cc
+++ b/src/mds/MDSDaemon.cc
@@ -366,6 +366,7 @@ void MDSDaemon::set_up_admin_socket()
" name=ap_dont_block,type=CephBool,req=false"
" name=ap_freeze,type=CephBool,req=false"
" name=await,type=CephBool,req=false"
+ " name=lifetime,type=CephFloat,req=false"
,asok_hook
,"lock a path");
ceph_assert(r == 0);