From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 25352] resizing ext4 will corrupt filesystem Date: Tue, 21 Dec 2010 03:33:50 GMT Message-ID: <201012210333.oBL3XoWK015485@demeter2.kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: linux-ext4@vger.kernel.org Return-path: Received: from demeter2.kernel.org ([140.211.167.42]:36474 "EHLO demeter2.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933461Ab0LUDdv (ORCPT ); Mon, 20 Dec 2010 22:33:51 -0500 Received: from demeter2.kernel.org (localhost.localdomain [127.0.0.1]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id oBL3XomW015486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 21 Dec 2010 03:33:50 GMT In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=25352 --- Comment #2 from Theodore Tso 2010-12-21 03:33:48 --- Created an attachment (id=41142) --> (https://bugzilla.kernel.org/attachment.cgi?id=41142) Proposed patch 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. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.