From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751166AbbEBATV (ORCPT ); Fri, 1 May 2015 20:19:21 -0400 Received: from 66.63.173.11.static.quadranet.com ([66.63.173.11]:60478 "EHLO q1.ich-9.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750804AbbEBATS (ORCPT ); Fri, 1 May 2015 20:19:18 -0400 Message-ID: <1430525956.5803.4.camel@memnix.com> Subject: Re: [dm-devel] Regression: Disk corruption with dm-crypt and kernels >= 4.0 From: Abelardo Ricart III To: Alasdair G Kergon Cc: dm-devel@redhat.com, mpatocka@redhat.com, linux-kernel@vger.kernel.org, snitzer@redhat.com Date: Fri, 01 May 2015 20:19:16 -0400 In-Reply-To: <20150501214728.GL19922@agk-dp.fab.redhat.com> References: <1430455027.7012.32.camel@memnix.com> <20150501214728.GL19922@agk-dp.fab.redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - q1.ich-9.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - memnix.com X-Get-Message-Sender-Via: q1.ich-9.com: authenticated_id: aricart@memnix.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-05-01 at 22:47 +0100, Alasdair G Kergon wrote: > On Fri, May 01, 2015 at 12:37:07AM -0400, Abelardo Ricart III wrote: > > # first bad commit: [cf2f1abfbd0dba701f7f16ef619e4d2485de3366] dm crypt: > > don't > > allocate pages for a partial request > > That's not a particularly good commit to identify. > > If you didn't already, can you confirm whether or not the code works at the > patch immediately following? > > 7145c241a1bf2841952c3e297c4080b357b3e52d > > Alasdair > Just built that revision and it failed almost immediately with more ata errors. It also corrupted my testing log. As an aside, here's my fstab in case it's of any use -------------------->8-------------------- /dev/mapper/root / f2fs rw,relatime,flush_merge,background_gc=on,user_xattr,acl,active_logs=6 0 0 /dev/mapper/home /home f2fs rw,relatime,flush_merge,background_gc=on,user_xattr,acl,active_logs=6 0 2 /dev/sda2 /boot ext4 rw,relatime,data=ordered 0 2 /dev/sda1 /boot/EFI vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2 tmpfs /scratch tmpfs nodev,nosuid,size=12G 0 0 -------------------->8--------------------