From: Dave Chinner <david@fromorbit.com>
To: xfs@oss.sgi.com
Subject: [PATCH 1/2] xfstests: test 110 sometimes fails to unmount scratch dev
Date: Tue, 6 Dec 2011 22:16:58 +1100 [thread overview]
Message-ID: <1323170219-16080-2-git-send-email-david@fromorbit.com> (raw)
In-Reply-To: <1323170219-16080-1-git-send-email-david@fromorbit.com>
From: Dave Chinner <dchinner@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@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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-12-06 11:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 11:16 [PATCH 0/2] xfstests: small fixes Dave Chinner
2011-12-06 11:16 ` Dave Chinner [this message]
2011-12-06 15:11 ` [PATCH 1/2] xfstests: test 110 sometimes fails to unmount scratch dev Christoph Hellwig
2011-12-06 11:16 ` [PATCH 2/2] xfstests: ln failure output has changed again Dave Chinner
2011-12-06 15:12 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1323170219-16080-2-git-send-email-david@fromorbit.com \
--to=david@fromorbit.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox