Whamcloud - gitweb
LU-15103 tests: clean up busy cifs mount 38/45238/3
authorgaurav mahajan <gaurav.mahajan@seagate.com>
Thu, 14 Oct 2021 10:12:38 +0000 (13:12 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Nov 2021 02:38:34 +0000 (02:38 +0000)
Busy cifs mount point makes cleanup_cifs fail which
will infact fails lustre unmount as cifs mount point is
lustre mount.

Test-Parameters: trivial
Signed-off-by: gaurav mahajan <gaurav.mahajan@seagate.com>
Signed-off-by: Elena Gryaznova <elena.gryaznova@hpe.com>
HPE-bug-id: LUS-4146
Reviewed-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: I4b7ec7e0a6a706198e328dad337648bf3cb2c3be
Reviewed-on: https://review.whamcloud.com/45238
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/setup-cifs.sh

index 637b33e..9b91e43 100644 (file)
@@ -94,6 +94,6 @@ cleanup_cifs() {
        local smbclients=${3}
 
        echo -e "\nUnmounting CIFS clients..."
        local smbclients=${3}
 
        echo -e "\nUnmounting CIFS clients..."
-       do_nodes $smbclients "umount -f $smbclimntpt" || return 1
+       zconf_umount_clients $smbclients $smbclimntpt -f || return 1
        do_node $smbsrv "service smb stop"
 }
        do_node $smbsrv "service smb stop"
 }