[PATCH] xfsqa: define resblks for tests near ENOSPC
Dave Chinner
david at fromorbit.com
Thu Mar 4 16:04:21 CST 2010
On Thu, Mar 04, 2010 at 08:56:23AM -0500, Christoph Hellwig wrote:
> 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.
Good idea. I'll rework the patch to do this.
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list