]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/cephfs: add timeout parameter to kclient umount_wait
authorYan, Zheng <zyan@redhat.com>
Fri, 11 May 2018 12:26:43 +0000 (20:26 +0800)
committerYan, Zheng <zyan@redhat.com>
Sat, 19 May 2018 09:06:19 +0000 (17:06 +0800)
Just make caller happy. there is no easy way to support timeout.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24053
qa/tasks/cephfs/kernel_mount.py

index bfa1ac679166bd90367b9982be2806e4d922bc73..d237f65fb33541091968fe6b8c6079229e7c33d9 100644 (file)
@@ -124,7 +124,7 @@ class KernelMount(CephFSMount):
     def cleanup(self):
         pass
 
-    def umount_wait(self, force=False, require_clean=False):
+    def umount_wait(self, force=False, require_clean=False, timeout=900):
         """
         Unlike the fuse client, the kernel client's umount is immediate
         """