[PATCH 1/2] xfstests: test 110 sometimes fails to unmount scratch dev

Dave Chinner david at fromorbit.com
Tue Dec 6 05:16:58 CST 2011


From: Dave Chinner <dchinner at redhat.com>

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 <dchinner at redhat.com>
---
 110 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/110 b/110
index cf5f663..aad5835 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
 
-- 
1.7.5.4




More information about the xfs mailing list