Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755068Ab0LOTPX (ORCPT ); Wed, 15 Dec 2010 14:15:23 -0500 Received: from mail-fx0-f43.google.com ([209.85.161.43]:39001 "EHLO mail-fx0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755041Ab0LOTPV convert rfc822-to-8bit (ORCPT ); Wed, 15 Dec 2010 14:15:21 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fSrrwx2qAy68XpMPE7m2PB6QV9DU2flthH4zKsks3sw5tLQ058iODbraRYs+ZZdhM7 ssL/FJPB3B3qdxGCHSbqo9WJobdSq62Z1CpXSdNFjaLL5XYtbHu0S1aMRtQCdyWx5Cja geNY0S2F+9OKIRgLSnHTir9Mm7++ycN3VwFLs= MIME-Version: 1.0 In-Reply-To: References: <20101210023852.GB3059@thunk.org> <20101212023415.GG3059@thunk.org> <20101212124354.GA4513@thunk.org> <20101213020657.GB4513@thunk.org> Date: Wed, 15 Dec 2010 20:15:18 +0100 Message-ID: Subject: Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm-crypt barrier support is effective) From: Matt To: "Ted Ts'o" Cc: Jon Nelson , Chris Mason , Andi Kleen , Mike Snitzer , Milan Broz , linux-btrfs , dm-devel , Linux Kernel , htd , htejun , linux-ext4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1821 Lines: 50 On Mon, Dec 13, 2010 at 7:56 PM, Jon Nelson wrote: > On Sun, Dec 12, 2010 at 8:06 PM, Ted Ts'o wrote: >> On Sun, Dec 12, 2010 at 07:11:28AM -0600, Jon Nelson wrote: >>> I'm glad you've been able to reproduce the problem! If you should need >>> any further assistance, please do not hesitate to ask. >> >> This patch seems to fix the problem for me. ?(Unless the partition is >> mounted with mblk_io_submit.) >> >> Could you confirm that it fixes it for you as well? > > I believe I have applied the (relevant) inode.c changes to > bd2d0210cf22f2bd0cef72eb97cf94fc7d31d8cc, rebuilt and begun testing. > Now at 28 passes without error, I think I can say that the patch > appears to resolve the issue. > > -- > Jon > Confirmed ! I'm running my box for 5+ hours right now with your patch applied in addition to Andi's/Milan's patch (http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-crypt-scale-to-multiple-CPUs.patch) , Ted, and can't see any indications of corruptions so far (while doing an emerge -e system) and doing everyday stuff. My /home partition (with ext4) is also still intact [which of course has a backup] so it seems to fix it for me, too so the corruption I was seeing was similar in a way to that of Jon You can add a Tested-by: Matthias Bayer Thanks a lot to everyone for your support ! :) I have a question though: the deactivation of multiple page-io submission support most likely only would affect bigger systems or also desktop systems (like mine) ? Regards Matt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/