From: Dave Chinner <david@fromorbit.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfsqa: define resblks for tests near ENOSPC
Date: Fri, 5 Mar 2010 09:04:21 +1100 [thread overview]
Message-ID: <20100304220421.GJ14317@discord.disaster> (raw)
In-Reply-To: <20100304135623.GB31753@infradead.org>
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-03-04 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 1:47 [PATCH] xfsqa: define resblks for tests near ENOSPC Dave Chinner
2010-03-04 13:56 ` Christoph Hellwig
2010-03-04 22:04 ` Dave Chinner [this message]
2010-03-05 2:03 ` [PATCH v2] " Dave Chinner
2010-03-05 9:21 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100304220421.GJ14317@discord.disaster \
--to=david@fromorbit.com \
--cc=hch@infradead.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox