[PATCH] xfsqa: define resblks for tests near ENOSPC

Christoph Hellwig hch at infradead.org
Thu Mar 4 07:56:23 CST 2010


On Thu, Mar 04, 2010 at 12:47:34PM +1100, Dave Chinner wrote:
> +	# fix the reserve block pool to a known size so that the enospc
> +	# calculations work out correctly.
> +	xfs_io -x -c "resblks 1024" $SCRATCH_MNT > /dev/null 2>&1

What about a _scratch_resvblks helper - that means we could also
add noops for non-xfs filesystems there easily.




More information about the xfs mailing list