public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Brian Foster <bfoster@redhat.com>
Cc: xfs@oss.sgi.com
Subject: Re: [FAQ] XFS speculative preallocation
Date: Fri, 21 Mar 2014 21:11:29 +0100	[thread overview]
Message-ID: <87eh1vuxam.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <20140321162920.GA3087@laptop.bfoster> (Brian Foster's message of "Fri, 21 Mar 2014 12:29:20 -0400")

* Brian Foster:

> Although speculative preallocation can lead to reports of excess space
> usage, the preallocated space is not permanent unless explicitly made so
> via fallocate or a similar interface.

How does an explicit allocation with posix_fallocate interact with
speculative preallocation?  Does it disable it?

I see rather dramatic fragmentation of the systemd journal when it is
stored on XFS, and it calls posix_fallocate before writing data to the
file.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2014-03-21 20:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21 16:29 [FAQ] XFS speculative preallocation Brian Foster
2014-03-21 16:54 ` Shaun Gosse
2014-03-21 17:09 ` Arkadiusz Miśkiewicz
2014-03-21 18:02   ` Brian Foster
2014-03-21 23:16   ` Dave Chinner
2014-03-21 20:11 ` Florian Weimer [this message]
2014-03-21 23:10   ` Dave Chinner
2014-03-21 23:13     ` Eric Sandeen
2014-03-21 23:18       ` Dave Chinner
2014-03-22 13:32   ` Christoph Hellwig
2014-03-21 23:05 ` Dave Chinner

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=87eh1vuxam.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=bfoster@redhat.com \
    --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