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

Dave Chinner david at fromorbit.com
Thu Jul 26 03:35:03 CDT 2012


From: Dave Chinner <dchinner at redhat.com>

It runs a bunch of rm processes in the background, then immediately
calls _check_scratch_fs without waiting for them to complete, hence
the unmount can fail with a busy filesystem error.

Signed-off-by: Dave Chinner <dchinner at redhat.com>
---
 110 |    1 +
 1 file changed, 1 insertion(+)

diff --git a/110 b/110
index aad5835..c58e6c9 100755
--- a/110
+++ b/110
@@ -69,6 +69,7 @@ do
     let I=$I+1
     [ $[$I % 1000] -eq 0 ] && echo "Created $I/$E"
 done
+wait
 
 sync
 
-- 
1.7.10



More information about the xfs mailing list