From: Dave Chinner Date: Tue, 6 Dec 2011 11:16:58 +0000 (+1100) Subject: xfstests: test 110 sometimes fails to unmount scratch dev X-Git-Tag: v2022.05.01~3632 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=46e0e4ad378d6c21747b4828c8645a783385ea53;p=xfstests-dev.git xfstests: test 110 sometimes fails to unmount scratch dev It runs a bunch of rm processes inteh background, tehn immediately calls _check_scratch_fs without waiting for them to complete, hence the unmount can fail with abusy filesystem error. Signed-off-by: Dave Chinner Signed-off-by: Christoph Hellwig --- diff --git a/110 b/110 index cf5f6631..aad58353 100755 --- a/110 +++ b/110 @@ -79,6 +79,7 @@ do rm $SCRATCH_MNT/test/${STR1}${STR2}${STR3}${I} & let I=$I+1 done +wait _check_scratch_fs