[PATCH] xfstests: check if the scratch dev pool is mounted in _require_scratch

2013-06-26 Thread Josef Bacik
If you use the SCRATCH_DEV_POOL for btrfs you will end up with the command line like this mkfs.btrfs $SCRATCH_DEV_POOL $SCRATCH_DEV and btrfs does this thing where it makes the lowest valued device id show up in /proc/mounts no matter which device you specify at the mount command. So in this

Re: [PATCH] xfstests: check if the scratch dev pool is mounted in _require_scratch

2013-06-26 Thread Josef Bacik
On Wed, Jun 26, 2013 at 12:18:04PM -0700, Zach Brown wrote: $SCRATCH_DEV, so anybody who wants to just use the scratch mnt with the scratch dev will fail to work because we never unmount the scratch mount. Yeah, this is annoying. Fix this by checking to see if the scratch dev pool