From: xfs@bob.dscon.sk (DS)
To: xfs@oss.sgi.com
Subject: Re: is the flush-on-close-after-truncate still needed?
Date: Thu, 26 Jun 2008 23:09:04 +0200 [thread overview]
Message-ID: <20080626210904.GA15920@bob.dscon.sk> (raw)
In-Reply-To: <200806181049.07812.dchinner@agami.com>
Hmm, but file overwrite in perl/php is slow, very slow.
Which FS is best for me?
XFS - perl/php overwrite problem
EXT3 - 32000 subdirs limit
REISER - no future
JFS - ?
DS
On Wed, Jun 18, 2008 at 10:49:07AM -0700, Dave Chinner wrote:
> On Wednesday 18 June 2008 10:09 am, Eric Sandeen wrote:
> > After Lachlan's fix to separate on-disk and in-memory sizes, and only
> > update on-disk when data is on-disk
> > (http://www.linux.sgi.com/archives/xfs/2007-05/msg00020.html) is the
> > XFS_ITRUNCATED flag / flush-on-close-after-truncate still needed?
>
> Yes, because waiting 30s before writing back /etc/fstab after it
> has been modified will result in lots of bug reports of /etc/fstab
> being zero length after a crash instead of being full of NULLs.
> We have had very few reports of zero length files or files with
> NULLs since this change was made (regardless of the file size
> update ordering changes). i.e. if we remove this code then the
> common case where NULL files occurred will return - only this
> time as zero length files.
>
> Cheers,
>
> Dave.
>
>
next prev parent reply other threads:[~2008-06-26 21:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-18 17:09 is the flush-on-close-after-truncate still needed? Eric Sandeen
2008-06-18 17:49 ` Dave Chinner
2008-06-18 17:59 ` Eric Sandeen
2008-06-26 21:09 ` DS [this message]
2008-06-26 21:19 ` Eric Sandeen
2008-06-26 21:24 ` Eric Sandeen
2008-06-27 7:13 ` DS
2008-06-27 7:28 ` 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=20080626210904.GA15920@bob.dscon.sk \
--to=xfs@bob.dscon.sk \
--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