[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1012211327180.6010@dhcp-lab-213.englab.brq.redhat.com>
Date: Tue, 21 Dec 2010 13:28:34 +0100 (CET)
From: Lukas Czerner <lczerner@...hat.com>
To: "Ted Ts'o" <tytso@....edu>
cc: bugzilla-daemon@...zilla.kernel.org, linux-ext4@...r.kernel.org,
Lukas Czerner <lczerner@...hat.com>
Subject: Re: [Bug 25352] New: resizing ext4 will corrupt filesystem
On Mon, 20 Dec 2010, Ted Ts'o wrote:
> On Mon, Dec 20, 2010 at 08:56:46PM +0000, bugzilla-daemon@...zilla.kernel.org wrote:
> >
> > Using resize2fs on an ext4 will result in a corrupted filesystem. This is a
> > regression (obviously).
>
> Yes, this is a regression new to 2.6.37-rc1, which was introduced by
> commit a31437b85: ext4: use sb_issue_zeroout in setup_new_group_blocks.
>
> When we replaced the loop zero'ing the inode table blocks with
> sb_issue_zeroout, we accidentally also removed this little tidbit:
>
> - ext4_set_bit(bit, bh->b_data);
>
> ... which was responsible for setting the block allocation bitmap to
> reserve the block descriptor blocks and inode table blocks. Oops...
>
> I believe this patch should fix things.
>
> - Ted
>
>
>
Oops indeed. Ted, thanks for the patch, it seems to fix the problem
completely.
-Lukas
--
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