xfs
[Top] [All Lists]

Re: [PATCH] xfsqa: define resblks for tests near ENOSPC

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfsqa: define resblks for tests near ENOSPC
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 4 Mar 2010 08:56:23 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1267667254-7971-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1267667254-7971-1-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.19 (2009-01-05)
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.

<Prev in Thread] Current Thread [Next in Thread>