xfs
[Top] [All Lists]

generic/258 questions (mount issue)...

To: xfs@xxxxxxxxxxx
Subject: generic/258 questions (mount issue)...
From: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Date: Tue, 21 May 2013 20:43:13 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=/00ZSigT/yZ5QP2Igr/e4gPAiEDMeS9bnCwQYEp9FYA=; b=VQy3SyTbvts2oXHhNGkY+9m46W2vu0MV8ctvxvtX3zO3Y9O3FJKVDw/FAdbo9trac2 NZuiAFgzTXZw6KsL6CD8ujGf7EBVIgsLXUuTbg1a8dxx46TWsHBGfNCFuyJ3b9LS8ESJ DTWusji0dy8eumm0xtbbY1Fn9aXmVpkRUpQBcL3U/bhfdCsk8nFmqProRj06TZao/8kR E133Q1tvl9iqouRipObf9ugStjOcl91ZBSAIeJMuAaEnpXMRMZd7wXkkrkc4Ye6RgDbm YVyjLLNoRaRtSmRD/v0UxCcVAm1ZsxfhhSnRgRrTvInmk/ruDZwqKlw4usfBnBH7xuo7 Z5eg==
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
Hi! When using xfstests generic/258 with along with $TEST_RTDEV $TEST_LOGDEV, it tends to scream bloody murder about corrupted partitions and such. In fact, the commands in the test seem to do the right thing when executed by hand. So once again, I grasped for straws and came up with this:

--- xfstests/tests/generic/258.orig     2013-05-21 20:19:38.430754829 -0400
+++ xfstests/tests/generic/258  2013-05-21 20:10:11.509021368 -0400
@@ -62,7 +62,7 @@
 # unmount, remount, and check the timestamp
 echo "Remounting to flush cache"
 umount $TEST_DEV
-mount $TEST_DEV $TEST_DIR
+_test_mount

 # Should yield -315593940 (prior to epoch)
 echo "Testing for negative seconds since epoch"

My questions are these:

1) Was there a better way to do this?

2) Not knowing the policy on umounting $TEST_DEV, could this have been a test for $SCRATCH_DEV?

This was tested only on XFS with rtdev and logdev partitions enabled.

Thanks!

Michael

<Prev in Thread] Current Thread [Next in Thread>