From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423829AbcHESMA (ORCPT ); Fri, 5 Aug 2016 14:12:00 -0400 Received: from mail.sig21.net ([80.244.240.74]:58437 "EHLO mail.sig21.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759797AbcHESLy (ORCPT ); Fri, 5 Aug 2016 14:11:54 -0400 Date: Fri, 5 Aug 2016 20:11:36 +0200 From: Johannes Stezenbach To: "Darrick J. Wong" Cc: =?iso-8859-1?B?VPZy9ms=?= Edwin , linux-kernel@vger.kernel.org, tytso@mit.edu, linux-ext4@vger.kernel.org Subject: Re: 4.7.0-rc7 ext4 error in dx_probe Message-ID: <20160805181136.mcjnnvuo5m6kpxzb@sig21.net> References: <20160718141723.GA8809@sig21.net> <7849bcd2-142d-0a12-0a04-7d0c3b6d788f@etorok.net> <20160805103544.kbt7znbzypvi5ofx@sig21.net> <20160805170228.GA19960@birch.djwong.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160805170228.GA19960@birch.djwong.org> User-Agent: Mutt/1.6.2-neo (2016-07-23) X-Spam-21-Score: -2.9 (--) X-Spam-21-Report: No, score=-2.9 required=8.0 tests=ALL_TRUSTED=-1,BAYES_00=-1.9 autolearn=ham autolearn_force=no Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 05, 2016 at 10:02:28AM -0700, Darrick J. Wong wrote: > On Fri, Aug 05, 2016 at 12:35:44PM +0200, Johannes Stezenbach wrote: > > On Wed, Aug 03, 2016 at 05:50:26PM +0300, Török Edwin wrote: > > > I have just encountered a similar problem after I've recently upgraded to 4.7.0: > > > [Wed Aug 3 11:08:57 2016] EXT4-fs error (device dm-1): dx_probe:740: inode #13295: comm python: Directory index failed checksum > > > [Wed Aug 3 11:08:57 2016] Aborting journal on device dm-1-8. > > > [Wed Aug 3 11:08:57 2016] EXT4-fs (dm-1): Remounting filesystem read-only > > > [Wed Aug 3 11:08:57 2016] EXT4-fs error (device dm-1): ext4_journal_check_start:56: Detected aborted journal > > > > It just happened again to me, this time hitting /usr/sbin/ > > on root fs. Meanwhile I ran memtest86 7.0 for two nights, > > it didn't find anything. I'm using hibernate regularly > > and I think so this only happened after a few hibernate/resume > > cycles, but no idea if that means anything. > > Now I'm back at 4.4.16 to see if it reproduces. > > When you're back on 4.7, can you apply this patch[1] to see if it fixes > the problem? I speculate that the new parallel dir lookup code enables > multiple threads to be verifying the same directory block buffer at the > same time. > > [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc1208f9212b7ecfb4230610a23 I added the patch, rebuilt and rebooted. It will take some time before I'll report back since the issue is so hard to reproduce. Thanks, Johannes