From: Yan, Zheng Date: Fri, 11 May 2018 12:26:43 +0000 (+0800) Subject: qa/tasks/cephfs: add timeout parameter to kclient umount_wait X-Git-Tag: v12.2.6~72^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F22208%2Fhead;p=ceph.git qa/tasks/cephfs: add timeout parameter to kclient umount_wait Just make caller happy. there is no easy way to support timeout. Signed-off-by: Yan, Zheng Fixes: https://tracker.ceph.com/issues/24053 (cherry picked from commit e7d0b41deae7ec99ddf0a1f5f30ea82683b7b474) --- diff --git a/qa/tasks/cephfs/kernel_mount.py b/qa/tasks/cephfs/kernel_mount.py index bfa1ac679166..d237f65fb335 100644 --- a/qa/tasks/cephfs/kernel_mount.py +++ b/qa/tasks/cephfs/kernel_mount.py @@ -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 """