From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 14354] Bad corruption with 2.6.32-rc1 and upwards
Date: Tue, 13 Oct 2009 14:50:59 GMT
Message-ID: <200910131450.n9DEoxEa020577@demeter.kernel.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
To: linux-ext4@vger.kernel.org
Return-path:
Received: from demeter.kernel.org ([140.211.167.39]:41774 "EHLO
demeter.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S933749AbZJMOvg (ORCPT
); Tue, 13 Oct 2009 10:51:36 -0400
Received: from demeter.kernel.org (localhost.localdomain [127.0.0.1])
by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9DEoxvb020578
for ; Tue, 13 Oct 2009 14:50:59 GMT
In-Reply-To:
Sender: linux-ext4-owner@vger.kernel.org
List-ID:
http://bugzilla.kernel.org/show_bug.cgi?id=14354
--- Comment #34 from Mike Snitzer 2009-10-13 14:50:58 ---
On Mon, Oct 12 2009 at 2:15pm -0400,
Theodore Ts'o wrote:
> Hi, I'm trying to track down a problem relating to ext4 problems, in
> kernel bugzilla 14354. Originally it was thought this was a regression
> 2.6.31->2.6.32-rc1 regression, but the Aneesh Kumar's report shows a
> very similar fsck transcript using a 2.6.30-1 kernel (which makes makes
> it unclear whether this is really a regression or not), and all three
> reports are tied together by the use of device-mapper.
>
> The fsck logs are consistent barriers being disabled. As I recall under
> some circumstances device mapper silently drops barrier requests --- I
> thought this was fixed for device mapper in some cases. What's the
> current status of barrier requests in device mapper? Are they
> faithfully passed for standard (non-RAID) LVM2 volumes? When was this
> changed? What about dm-crypto volumes? (One of the reports was with a
> dm-crypt volume from what I can tell.)
Barrier infrastructure started to get added to the DM core in 2.6.30, see:
http://git.kernel.org/linus/af7e466a1ace
But barriers were not enabled for all DM targets (_except_ dm-multipath)
until 2.6.31. So 2.6.31's dm-crypt does support barriers, see:
http://git.kernel.org/linus/647c7db14ef9
If the underlying device(s) support barriers DM should faithfully pass
them on (again except for dm-multipath). Also, requests with barriers
that result in -EOPNOTSUPP are retried without the barrier, see:
http://git.kernel.org/linus/51aa32284958
Mike
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.