[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110728013304.GC3133@thunk.org>
Date: Wed, 27 Jul 2011 21:33:04 -0400
From: Ted Ts'o <tytso@....edu>
To: Robin Dong <hao.bigrat@...il.com>
Cc: linux-ext4@...r.kernel.org, Robin Dong <sanbai@...bao.com>
Subject: Re: [PATCH] ext4: add action of moving index in ext4_ext_rm_idx
for Punch Hole
On Tue, Jul 26, 2011 at 03:34:59PM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai@...bao.com>
>
> The old function ext4_ext_rm_idx is used only for truncate case because
> it just remove last index in extent-index-block. When punching hole,
> it usually needed to remove "middle" index, therefore we must move indexes
> which after it forward.
>
> (I create a file with 1 depth extent tree and punch hole in the middle of it,
> the last index in index-block strangly gone, so I find out this bug)
>
> Signed-off-by: Robin Dong <sanbai@...bao.com>
Thanks, added to the ext4 tree.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists