]> git.apps.os.sepia.ceph.com Git - ceph.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>
Tue, 22 May 2018 03:07:36 +0000 (11:07 +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
(cherry picked from commit e7d0b41deae7ec99ddf0a1f5f30ea82683b7b474)

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
         """