From: Ted Ts'o <tytso@mit.edu>
To: "Bo Brantén" <bosse@acc.umu.se>
Cc: linux-ext4@vger.kernel.org
Subject: Re: persistent preallocation
Date: Tue, 3 Aug 2010 14:06:31 -0400 [thread overview]
Message-ID: <20100803180631.GA9453@thunk.org> (raw)
In-Reply-To: <Pine.A41.4.64.1008031256060.1073402@stalin.acc.umu.se>
On Tue, Aug 03, 2010 at 12:58:21PM +0200, Bo Brantén wrote:
>
> I have a question on the implementation of persistent preallocation,
> the reason to not return the disk block is because it can contain
> old data but I wonder if an implementation has to return zeros
> instead or if it could return any garbage as long as it is not
> _that_ garbage?
What would be the point? If we know that we can't return the on-disk
block contents, returning all zero's is much nicer for the application
since it also then looks like and works just like a sparse file.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2010-08-03 18:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 10:58 persistent preallocation Bo Brantén
2010-08-03 11:18 ` Dmitry Monakhov
2010-08-03 16:25 ` Eric Sandeen
2010-08-03 18:06 ` Ted Ts'o [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=20100803180631.GA9453@thunk.org \
--to=tytso@mit.edu \
--cc=bosse@acc.umu.se \
--cc=linux-ext4@vger.kernel.org \
/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.