From: "Pádraig Brady" <P@draigBrady.com>
To: Jim Meyering <jim@meyering.net>
Cc: coreutils@gnu.org, linux-ext4@vger.kernel.org
Subject: Re: [PATCH 6/6] tests: avoid spurious parallel failure due to temporary disk full
Date: Mon, 04 Apr 2011 10:34:16 +0100 [thread overview]
Message-ID: <4D999098.5040502@draigBrady.com> (raw)
In-Reply-To: <87mxk69yfd.fsf@rho.meyering.net>
On 04/04/11 10:08, Jim Meyering wrote:
> Pádraig Brady wrote:
>> On 04/04/11 06:13, Jim Meyering wrote:
>>> From: Jim Meyering <meyering@redhat.com>
>>>
>>> Running the new fiemap-empty test uses 600MB of disk space via
>>> fallocate, and in so doing caused failure in unrelated tests that
>>> were running in parallel on a small file system. Rather than
>>> simply running fallocate (which allocates the space, inducing
>>> disk full when it fails), skip the test if there is less than
>>> 800MB of free space, as computed via stat and awk.
>
> Thanks for looking.
>
>> Oops sorry.
>> Maybe worth noting is that stat works at a lower level,
>
> Not sure what you mean? Both use statfs.
Oops right. df uses f_bavail, so perhaps it might
be better to use %a rather than %f with `stat`?
This fallocate() behavior is annoying anyway,
as I'm not sure when it's useful, except for
filling up a file system.
It seems like a this would be useful.
#define FALLOC_FL_FULL_SIZE 0x03 /* allocate all or nothing */
cheers,
Pádraig.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next parent reply other threads:[~2011-04-04 9:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1301894021-29180-1-git-send-email-jim@meyering.net>
[not found] ` <1301894021-29180-7-git-send-email-jim@meyering.net>
[not found] ` <4D997AAB.3070807@draigBrady.com>
[not found] ` <87mxk69yfd.fsf@rho.meyering.net>
2011-04-04 9:34 ` Pádraig Brady [this message]
2011-04-04 9:55 ` [PATCH 6/6] tests: avoid spurious parallel failure due to temporary disk full Jim Meyering
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=4D999098.5040502@draigBrady.com \
--to=p@draigbrady.com \
--cc=coreutils@gnu.org \
--cc=jim@meyering.net \
--cc=linux-ext4@vger.kernel.org \
/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