Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <jaxboe@fusionio.com>
To: Greg Edwards <greg.edwards@hp.com>
Cc: fio@vger.kernel.org
Subject: Re: [PATCH] gracefully handle full /tmp file system
Date: Sat, 26 Jun 2010 22:51:09 +0200	[thread overview]
Message-ID: <4C26683D.8010006@fusionio.com> (raw)
In-Reply-To: <20100625152419.GA29790@w-gedwards.lhn.com>

On 25/06/10 17.24, Greg Edwards wrote:
> If /tmp happens to be full, fio gives you a very unhelpful error:
> 
> # ./fio rand-write-256k-q256.job
> Bus error
> 
> Use posix_fallocate() to gracefully handle this condition.
> 
> Signed-off-by: Greg Edwards <greg.edwards@hp.com>

Thanks, that looks sane. As far as I remember, if the fs
doesn't do fallocate, then glibc will zero fill it. If
that is the case, then it should be safe.

I will apply it.

-- 
Jens Axboe


      reply	other threads:[~2010-06-26 20:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-25 15:24 [PATCH] gracefully handle full /tmp file system Greg Edwards
2010-06-26 20:51 ` Jens Axboe [this message]

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=4C26683D.8010006@fusionio.com \
    --to=jaxboe@fusionio.com \
    --cc=fio@vger.kernel.org \
    --cc=greg.edwards@hp.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