Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp735717ybm; Tue, 21 May 2019 02:39:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEsLlwOlIIX/LFdBI6VpFqJ1RrZplXA4O98wLuh3k6wMI6OClcIyI9k+w1c5bLRz4f+qqn X-Received: by 2002:a17:902:7202:: with SMTP id ba2mr27473639plb.177.1558431552796; Tue, 21 May 2019 02:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558431552; cv=none; d=google.com; s=arc-20160816; b=eWJW4fkbTN7FYMs9Q/SvqvTwkNXIqyyqu/Ivoo9b+2t1vH5mzm7f1lxurbq1HGHVfM 2fFSrrj2kRHQLcbF4owccFjU9SJI3aIZanI+fRwl/1R11jkbiDa4T9LzDhk6q1zOdhPQ P9S2b6Ls9BhQIZGfStw3K3OH2Pqz5/0yaujKUB/j9lOXlOpLqE5/UtovaXq1X52NEsmY 6ohl/DUqsb5VUaecURNhuPZ/+ndzFWVLeBNSI3/jiPoBOAmZWz5HCLpoxluSfqXflspG 1dI/oux222pN2jwrSragz/mv56HDBGCo7x/zuPpDzfinuYdT+g2r6wchM80XIaphtKvo s5qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=C5mBSKASZx9BuJDeO5rCxLxNK0F9SWHmwodRUV+xc7I=; b=Ko/rae64xX58ALBzde0xett2piyOaqNopljXEWo0+vjw/sbBgLvfRor8lYPOb70+zR Fle002b+tnxeb0cgtsFe2446iyCIp7avkECM3cJAIm++OXuzebqxqzeIAigeZcFfOj8f Xea7HIPo3UAcURe0W3LIV/UiiZMgm+PYHJbJFC738jnHJ0efRQ/iHbZWpwwTTIXBURO9 V6k8QGYbNwx31NAvcvMmxWlpOm2Fz0DwD34ePcRKqC5Mf6AynEbCebUY7B5TrCdE8l+x E6Vxbx2L/1XUI9IqQMq3bSSC+oY8UxAWlcx+qH5g0PkOfYFlVK69iGkzRH0Vu841JVrk zzRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G1Nqh8qC; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4si20984789pfa.218.2019.05.21.02.38.56; Tue, 21 May 2019 02:39:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G1Nqh8qC; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbfEUJix (ORCPT + 99 others); Tue, 21 May 2019 05:38:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:32840 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbfEUJiw (ORCPT ); Tue, 21 May 2019 05:38:52 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2ACE821479; Tue, 21 May 2019 09:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558431531; bh=DdIv1DA6LGbOnPVWvG4pWPp2UIabk717qQ4GREpPO/g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G1Nqh8qCMqLn9yatKZMlXJDnUMNo+WOmLTpVYwILhkAac/0I7uFlZoP4NOcplcDrA 6gu5XYwa2lLedMfBtgO2MjX638Z5nxlLBEB9yPJqw37CKaLM+iO7SSJ+HBykALE1lI 1vYYJURYmXMGfIEE4nPcYSOyOmiCIf9qfzGdjXIE= Date: Tue, 21 May 2019 11:38:49 +0200 From: Greg Kroah-Hartman To: Theodore Ts'o , Naresh Kamboju Cc: open list , Linus Torvalds , Andrew Morton , Guenter Roeck , Shuah Khan , patches@kernelci.org, Ben Hutchings , lkft-triage@lists.linaro.org, linux- stable , linux-ext4@vger.kernel.org, Arthur Marsh , Richard Weinberger , Theodore Ts'o Subject: ext4 regression (was Re: [PATCH 4.19 000/105] 4.19.45-stable review) Message-ID: <20190521093849.GA9806@kroah.com> References: <20190520115247.060821231@linuxfoundation.org> <20190520222342.wtsjx227c6qbkuua@xps.therub.org> <20190521085956.GC31445@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, May 21, 2019 at 02:58:58PM +0530, Naresh Kamboju wrote: > On Tue, 21 May 2019 at 14:30, Greg Kroah-Hartman > wrote: > > > > On Mon, May 20, 2019 at 05:23:42PM -0500, Dan Rue wrote: > > > On Mon, May 20, 2019 at 02:13:06PM +0200, Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the 4.19.45 release. > > > > There are 105 patches in this series, all will be posted as a response > > > > to this one. If anyone has any issues with these being applied, please > > > > let me know. > > > > > > > > Responses should be made by Wed 22 May 2019 11:50:49 AM UTC. > > > > Anything received after that time might be too late. > > > > > > We're seeing an ext4 issue previously reported at > > > https://lore.kernel.org/lkml/20190514092054.GA6949@osiris. > > > > > > [ 1916.032087] EXT4-fs error (device sda): ext4_find_extent:909: inode #8: comm jbd2/sda-8: pblk 121667583 bad header/extent: invalid extent entries - magic f30a, entries 8, max 340(340), depth 0(0) > > > [ 1916.073840] jbd2_journal_bmap: journal block not found at offset 4455 on sda-8 > > > [ 1916.081071] Aborting journal on device sda-8. > > > [ 1916.348652] EXT4-fs error (device sda): ext4_journal_check_start:61: Detected aborted journal > > > [ 1916.357222] EXT4-fs (sda): Remounting filesystem read-only > > > > > > This is seen on 4.19-rc, 5.0-rc, mainline, and next. We don't have data > > > for 5.1-rc yet, which is presumably also affected in this RC round. > > > > > > We only see this on x86_64 and i386 devices - though our hardware setups > > > vary so it could be coincidence. > > > > > > I have to run out now, but I'll come back and work on a reproducer and > > > bisection later tonight and tomorrow. > > > > > > Here is an example test run; link goes to the spot in the ltp syscalls > > > test where the disk goes into read-only mode. > > > https://lkft.validation.linaro.org/scheduler/job/735468#L8081 > > > > Odd, I keep hearing rumors of ext4 issues right now, but nothing > > actually solid that I can point to. Any help you can provide here would > > be great. > > > > git bisect helped me to land on this commit, > > # git bisect bad > e8fd3c9a5415f9199e3fc5279e0f1dfcc0a80ab2 is the first bad commit > commit e8fd3c9a5415f9199e3fc5279e0f1dfcc0a80ab2 > Author: Theodore Ts'o > Date: Tue Apr 9 23:37:08 2019 -0400 > > ext4: protect journal inode's blocks using block_validity > > commit 345c0dbf3a30872d9b204db96b5857cd00808cae upstream. > > Add the blocks which belong to the journal inode to block_validity's > system zone so attempts to deallocate or overwrite the journal due a > corrupted file system where the journal blocks are also claimed by > another inode. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202879 > Signed-off-by: Theodore Ts'o > Cc: stable@kernel.org > Signed-off-by: Greg Kroah-Hartman > > :040000 040000 b8b6ce2577d60c65021e5cc1c3a38b32e0cbb2ff > 747c67b159b33e4e1da414b1d33567a5da9ae125 M fs Ah, many thanks for this bisection. Ted, any ideas here? Should I drop this from the stable trees, and you revert it from Linus's? Or something else? Note, I do also have 170417c8c7bb ("ext4: fix block validity checks for journal inodes using indirect blocks") in the trees, which was supposed to fix the problem with this patch, am I missing another one as well? (side note, it was mean not to mark 170417c8c7bb for stable, when the patch it was fixing was marked for stable, I'm lucky I caught it...) thanks, greg k-h