* [PATCH] xfstests: don't delete scratch loop device w/ umount -d
@ 2010-02-17 20:29 Eric Sandeen
2010-02-19 10:30 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2010-02-17 20:29 UTC (permalink / raw)
To: xfs mailing list
Recent fixes to 073 added umount -d, but if we happen
to be using a scratch device on loopback, subsequent
tests get very, very unhappy when their loopback block
device goes away!
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
diff --git a/073 b/073
index 90fa1f0..7ce6efb 100755
--- a/073
+++ b/073
@@ -119,7 +119,8 @@ _verify_copy()
diff -u $tmp.geometry1 $tmp.geometry2
echo unmounting and removing new image
- umount -d $source_dir $target_dir
+ umount $source_dir
+ umount -d $target_dir
rm -f $target
}
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfstests: don't delete scratch loop device w/ umount -d
2010-02-17 20:29 [PATCH] xfstests: don't delete scratch loop device w/ umount -d Eric Sandeen
@ 2010-02-19 10:30 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2010-02-19 10:30 UTC (permalink / raw)
To: Eric Sandeen; +Cc: xfs mailing list
On Wed, Feb 17, 2010 at 02:29:38PM -0600, Eric Sandeen wrote:
> Recent fixes to 073 added umount -d, but if we happen
> to be using a scratch device on loopback, subsequent
> tests get very, very unhappy when their loopback block
> device goes away!
True, we only need -d for the loop devices created in the test.
Reviewed-by: Christoph Hellwig <hch@lst.de>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-19 10:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 20:29 [PATCH] xfstests: don't delete scratch loop device w/ umount -d Eric Sandeen
2010-02-19 10:30 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox