Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1252528ybm; Tue, 21 May 2019 10:58:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqz48leTRHtRZPByycI4S2sMh6kQUWZ6wD4R5vUgM3yQUYfTs+oBVS3RZp9bijnmcxEPQVJR X-Received: by 2002:a17:902:204:: with SMTP id 4mr32067191plc.21.1558461497183; Tue, 21 May 2019 10:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558461497; cv=none; d=google.com; s=arc-20160816; b=D0f/QDyqYxpkMZBEv1kfG2nQMRItPjqhXwIbqUP5XEI7Kf36Ync0UFc6GHuTxQdZI+ bb/HwXpmLtW8OyN24hfhx0CVDnYYrlgmLniiVJNgtdTo7UXMzmnbnqx0iZJjOM7HaYHk 2euxLHdxW4CEZcLZk7liIgYssQoW/kxydCO8t5jvo0+JDCUd/CsOQHixYJmEC0wdfxcS 0O6qnKHvnF02jyS65lPObt9kHNkMsqVZI+2ptoNnMAZJFje3iP+e7TfJw2+YeOCcJw9l XFR995jgNS4r5rfCaHgbzrHKlXl278RYHvHfPh82PqSSyeik2IEjhBt7s9+lwCpuSlKc kxWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=13iR66s35EeUhXp2Ectoi0OYdgpCcLBjgrRmPgISBoM=; b=QtOh6qi856vNXPtxaFYoZczD7HPyT3Mik9uokIOWLdVF2LLnSJahRh0lzwBqI77rx9 6kmOZ22+KiZ2szGRABSr/t+gZOwi+IDYeeItYC+xJTgi2RcKuABsKGl3D57qz3BYOgfS lJEKUw1uCY+QUWLNCsFVKPrS0d4fWzTiYGmAoaBmMCKDyL6oMu0gNtPOVykjpkgko5cU fNUq3cjORzxSIW2P+YBfcG5DXEPU0s+Rw5sRJ+CaCkR31jLVlmk124w5L0L85/BJXWit EzMI4NpIz7co25I77sJO8TP0OszricOgZ6NE1rSuvB1DVoc6V5Jb138yMkbppVG0+rw3 ORhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uH9I6b0J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si8584999pgm.114.2019.05.21.10.57.58; Tue, 21 May 2019 10:58:17 -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=@linaro.org header.s=google header.b=uH9I6b0J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729156AbfEUR5g (ORCPT + 99 others); Tue, 21 May 2019 13:57:36 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37362 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbfEUR5f (ORCPT ); Tue, 21 May 2019 13:57:35 -0400 Received: by mail-lj1-f194.google.com with SMTP id h19so643494ljj.4 for ; Tue, 21 May 2019 10:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=13iR66s35EeUhXp2Ectoi0OYdgpCcLBjgrRmPgISBoM=; b=uH9I6b0JCQbUYvD1LQ/glpe/cwjIy5fEvVhCo7mSI3nnWN8qaC32ctzL3bx4y9FHx1 8b6JffttjvceV7oO33hEAchiQ141RYZOda/yElKfLKngnwq7bfAIT8x1KuEn9d8sZAYm ArSJM9+nF6Zm+FJdKPJtCR4kBp/zvoi/e2Rqc+DZAlxoQLLHBSA18HY6yUjTMAWRUX38 WyPhja20hFXrXImDxpdjqmJTjoSwPIR54QrpmJE3SYs488Csl26LxlYhI5g8PNBDAVuw RSQ6ZxhJJqT0VbQ1ZfvEeaXUdXasb0L1jbiXU11exgVIx0Lv+whO/t376N1UiGC9ID/i S4DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=13iR66s35EeUhXp2Ectoi0OYdgpCcLBjgrRmPgISBoM=; b=SxT/tEwZRNURLAOrM722n4PIfoCV/+uDTrS+vKgfywf04Ueuus72EXAZmc7yy8AtZD zWVrLygIX4qsNHiZ5S1ZUBzbaa6BT/8OW1cSTtfDgRRWbHLO+9zxsiHq99P+oYx99IO+ doe4T+cf4PfCqUo1R1TMnoXQsIeY9igeIrrzOOtl736G40lOzXJOtctVq46HnGmeFlvg pljfBVZEmXFvcFCNIudprXviFZ0VjbcOkpr6CT8i7X90E6KebBXdXcc8mMyYvwE312kW jvFbBt6lH7QgaLUpGkpTUUDM01o9cXHwQ8dwIPLMTkcPDGOJgmMk7NCV/6SWNnhMWO8m fs0g== X-Gm-Message-State: APjAAAVuJH2JfMPVjCkFK7UUBdpXC+gvjeZXNDtnVrVv8onyye4ESafS yh5D27JQcRN+E9O+87+jQMWCMJohXxWdkuNo2v8P/A== X-Received: by 2002:a2e:7411:: with SMTP id p17mr26016219ljc.24.1558461453024; Tue, 21 May 2019 10:57:33 -0700 (PDT) MIME-Version: 1.0 References: <20190520115247.060821231@linuxfoundation.org> <20190520222342.wtsjx227c6qbkuua@xps.therub.org> <20190521085956.GC31445@kroah.com> <20190521093849.GA9806@kroah.com> <20190521162142.GA2591@mit.edu> In-Reply-To: <20190521162142.GA2591@mit.edu> From: Naresh Kamboju Date: Tue, 21 May 2019 23:27:21 +0530 Message-ID: Subject: Re: ext4 regression (was Re: [PATCH 4.19 000/105] 4.19.45-stable review) To: "Theodore Ts'o" , Naresh Kamboju , Greg Kroah-Hartman , 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 Cc: ltp@lists.linux.it, Jan Stancek Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, 21 May 2019 at 21:52, Theodore Ts'o wrote: > > On Tue, May 21, 2019 at 03:58:15PM +0530, Naresh Kamboju wrote: > > > Ted, any ideas here? Should I drop this from the stable trees, and you > > > revert it from Linus's? Or something else? > > It's safe to drop this from the stable trees while we investigate. It > was always borderline for stable anyway. (See below). > > > > > > > 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? > > > > FYI, > > I have applied fix patch 170417c8c7bb ("ext4: fix block validity checks for > > journal inodes using indirect blocks") but did not fix this problem. > > Hmm... are you _sure_? This bug was reported to me versus the > mainline, and the person who reported it confirmed that it did fix the > problem, he was seeing, and the symptoms are identical to yours. Can > you double check, please? I can't reproduce it either with that patch applied. This bug is specific to x86_64 and i386. Steps to reproduce is, running LTP three test cases in sequence on x86 device. # cd ltp/runtest # cat syscalls ( only three test case) open12 open12 madvise06 madvise06 poll02 poll02 # as Dan referring to, LTP is run using '/opt/ltp/runltp -d /scratch -f syscalls', where the syscalls file has been replaced with three test case names, and /scratch is an ext4 SATA drive. /scratch is created using 'mkfs -t ext4 /dev/disk/by-id/ata-TOSHIBA_MG03ACA100_37O9KGKWF' and mounted to /scratch. Please find full test log, https://lkft.validation.linaro.org/scheduler/job/738661#L1356 And you notice dmesg log, [ 53.897001] 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) [ 53.931430] jbd2_journal_bmap: journal block not found at offset 49 on sda-8 [ 53.938480] Aborting journal on device sda-8. [ 55.431382] EXT4-fs error (device sda): ext4_journal_check_start:61: Detected aborted journal [ 55.439947] EXT4-fs (sda): Remounting filesystem read-only - Naresh