All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "xan.peng" <xanpeng@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: Why not abort when posix_fallocate() failed?
Date: Tue, 13 Aug 2013 08:43:11 -0600	[thread overview]
Message-ID: <20130813144311.GI25668@kernel.dk> (raw)
In-Reply-To: <CA+8ZFnhapBuTo0U9Loyg=zrGHxf2GGJN2=LTu2Sw0oJWKHNicA@mail.gmail.com>

On Mon, Aug 12 2013, xan.peng wrote:
> Hi all,
> 
> I'm recently reading fio source code and running it for test purpose.
> A case bothered me which is fio keep going after posix_fallocate()
> failed, I'm wondering why, shouldn't it abort immediately?

Fio treats it as advisory, like fadvise. Back in the day, fallocate
would often not be available. So it would be hard to treat it as a full
error.

-- 
Jens Axboe


  reply	other threads:[~2013-08-13 14:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  7:23 Why not abort when posix_fallocate() failed? xan.peng
2013-08-13 14:43 ` Jens Axboe [this message]
2013-08-14  1:48   ` xan.peng
2013-08-16  5:38     ` FIO-2.1.2 Windows Binaries Availability Ritchie Babaylan
2013-08-16  5:44     ` Encountered Mix Access R/W Problem Ritchie Babaylan
2013-08-19  1:24       ` xan.peng

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=20130813144311.GI25668@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=xanpeng@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.