From: Eric Sandeen <sandeen@redhat.com>
To: tytso@mit.edu
Cc: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>,
cmm@us.ibm.com, linux-ext4@vger.kernel.org
Subject: Re: [PATCH -V2] ext4: unmap the underlying metadata when allocating blocks via fallocate
Date: Mon, 25 Jan 2010 09:43:17 -0600 [thread overview]
Message-ID: <4B5DBC15.9030004@redhat.com> (raw)
In-Reply-To: <20100125090243.GA28459@thunk.org>
tytso@mit.edu wrote:
> On Mon, Jan 25, 2010 at 10:42:05AM +0530, Aneesh Kumar K. V wrote:
>> My goal was to see if we can drop the BH_New flag when returning
>> preallocated blocks. But now i look at it again i guess you don't need
>> to take this patch. We cannot unmap underlying meta data during
>> fallocate because even if we remove the old mapping for the blocks,
>> we could reboot and later somebody(e2fsprogs) can directly read the blocks
>> and create a bh with old data. So i guess we should be doing
>> unmap_underlying_blocks when we are returning blocks to userspace or
>> when we actually zero out blocks.
>
> OK, so I'll drop this patch from the patch queue, and will do a full
> test run (XFSQA -g auto using both 1k and 4k block sizes) of the
> following patches:
>
> Aneesh Kumar K.V (3):
> ext4: Handle -EDQUOT error on write
> ext4: Fix quota accounting error with fallocate
> ext4: Drop EXT4_GET_BLOCKS_UPDATE_RESERVE_SPACE flag
You may wish to add the patch from Jiaying (via me) as well, to handle
the blocks-past-eof case, if it's had sufficient review.
-Eric
> Of all of the patches in the ext4 patch queue, these seem to be the
> ones which need to be urgently pushed to Linus before 2.6.33.
>
> Any objections, or nominations for other patches that should go in
> before 2.6.33, please speak up now...
>
> - Ted
next prev parent reply other threads:[~2010-01-25 15:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-06 19:22 [PATCH 1/3] ext4: Fix quota accounting error with fallocate Aneesh Kumar K.V
2010-01-06 19:22 ` [PATCH 2/3] ext4: Drop EXT4_GET_BLOCKS_UPDATE_RESERVE_SPACE flag Aneesh Kumar K.V
2010-01-06 19:50 ` Mingming
2010-01-06 19:22 ` [PATCH 3/3] ext4: unmap the underlying metadata when allocating blocks via fallocate Aneesh Kumar K.V
2010-01-06 20:20 ` Eric Sandeen
2010-01-14 17:00 ` Eric Sandeen
2010-01-14 18:30 ` [PATCH -V2] " Aneesh Kumar K. V
2010-01-14 19:31 ` Eric Sandeen
2010-01-24 18:24 ` tytso
2010-01-25 5:12 ` Aneesh Kumar K. V
2010-01-25 9:02 ` tytso
2010-01-25 15:43 ` Eric Sandeen [this message]
2010-01-25 17:55 ` tytso
2010-01-25 18:21 ` Aneesh Kumar K. V
2010-01-06 19:47 ` [PATCH 1/3] ext4: Fix quota accounting error with fallocate Mingming
2010-01-13 14:55 ` [PATCH -V2] " Aneesh Kumar K.V
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=4B5DBC15.9030004@redhat.com \
--to=sandeen@redhat.com \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=cmm@us.ibm.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).