[PATCH] xfstests 273 274 275: do test in dedicated dir and leave test files in it

Eryu Guan guaneryu at gmail.com
Fri Jan 27 10:28:36 CST 2012


On Fri, Jan 27, 2012 at 7:01 PM, Christoph Hellwig <hch at infradead.org> wrote:
> On Fri, Jan 13, 2012 at 01:20:15AM +0800, Eryu Guan wrote:
>> Do all testings in dedicated dir($SCRATCH_MNT/$seq) instead of
>> $SCRATCH_MNT and don't remove test files in _cleanup() for debug
>> purpose.
>
> What it the dedicated directory useful for?

fsck.extN will complain lost+found is missing and fail 273. So my first try is
creating lost+found explicitly after removing everything in $SCRATCH_MNT.
Please see http://oss.sgi.com/archives/xfs/2012-01/msg00092.html
The whole point here is to avoid such fsck errors.

And as Dave suggested, 273 274 275 should put all files in a dedicated location
and just remove that dir instead of removing all files in
$SCRATCH_MNT. So I sent
out this as a second try. Perhaps I should mark it as v2...

Thanks,
Eryu Guan




More information about the xfs mailing list