From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Ulrich Drepper <drepper@cygnus.com>,
linux-fsdevel@vger.rutgers.edu, linux-mm@kvack.org,
Theodore Ts'o <tytso@valinux.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linus Torvalds <torvalds@transmeta.com>
Subject: Re: O_SYNC patches for 2.4.0-test1-ac11
Date: Mon, 12 Jun 2000 15:16:59 +0200 [thread overview]
Message-ID: <20000612151659.C5704@pcep-jamie.cern.ch> (raw)
In-Reply-To: <20000609225802.I2621@redhat.com>; from sct@redhat.com on Fri, Jun 09, 2000 at 10:58:02PM +0100
Stephen C. Tweedie wrote:
> No. If we do posix_fallocate(), then there are only two choices:
> we either pre-zero the file contents (in which case we are as well
> doing it from user space), or we record in the inode that the file
> isn't pre-zeroed and so optimise things.
3rd choice: preallocate space with room for interleaved indirection
blocks. You don't need to record anything in the inode: it's the
indirection blocks that get changed as you fill up the file. And
they're in exactly the right place.
-- Jamie
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-06-12 13:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-09 21:36 Stephen C. Tweedie
2000-06-09 21:51 ` Ulrich Drepper
2000-06-09 21:55 ` Stephen C. Tweedie
2000-06-09 21:53 ` Ulrich Drepper
2000-06-09 21:58 ` Stephen C. Tweedie
2000-06-12 13:16 ` Jamie Lokier [this message]
2000-06-12 13:24 ` Jamie Lokier
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=20000612151659.C5704@pcep-jamie.cern.ch \
--to=lk@tantalophile.demon.co.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=drepper@cygnus.com \
--cc=linux-fsdevel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=sct@redhat.com \
--cc=torvalds@transmeta.com \
--cc=tytso@valinux.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