xfstests - SCRATCH_DIR mounted/unmounted twice when testing nfs
Dave Chinner
david at fromorbit.com
Wed May 18 19:02:02 CDT 2011
On Wed, May 18, 2011 at 12:41:38PM +0000, Boris Ranto wrote:
> Tests 124, 127 and 128 unmount their SCRATCH_DEV manually while using _cleanup_testdir in trapped cleanup function.
> This can lead to test fails due to double unmount on nfs where _cleanup_testdir unmounts SCRATCH_DEV.
>
> Tests 129 and 130 use _setup_testdir and _scratch_mount that can lead to double mount on nfs where _setup_testdir mounts SCRATCH_DEV.
>
> The least invasive patch (only nfs shall be affected by this patch) I could come up with that fixed this issue used conditional umounts in _cleanup_testdir and conditional mount/remount in _scratch_mount (remount was used so that mount flags do not get lost).
>
More information about the xfs
mailing list