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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dave Chinner <dchinner@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux