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: v13.2.0~24^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f307df935350844ff551490a596dbdafa4e05872;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 bfa1ac67916..d237f65fb33 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 """