From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58017C43441 for ; Wed, 28 Nov 2018 15:55:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2186E21019 for ; Wed, 28 Nov 2018 15:55:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="GNgPjYYV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2186E21019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mailbox.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728832AbeK2C5V (ORCPT ); Wed, 28 Nov 2018 21:57:21 -0500 Received: from mx1.mailbox.org ([80.241.60.212]:48498 "EHLO mx1.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbeK2C5V (ORCPT ); Wed, 28 Nov 2018 21:57:21 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 7E7D840555; Wed, 28 Nov 2018 16:55:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:references:in-reply-to :message-id:date:date:subject:subject:from:from:received; s= mail20150812; t=1543420510; bh=+J+vy5w1FLLEnQg9LeolACA/hQckloAws oDnp6XqOqQ=; b=GNgPjYYVvDBAn26mlX18jFOFOZPh1v2/jmyUMEXXSriStrTV3 KiukGqaQ8o9fvQJq5zMtZ0O3WejM0Vv3qEpNQnewXXZFocIkYJpiWQmxomPg8rIw 2tSsDxWcibLTtEDOnBK4BhdZ94itfxjfQstBkPigECNmcSCM/bQG6q/Vc1GSHXPu wNExPXsXszCJw3D0xyzP3Qp/WNXa4iSYPwmlgy2rblfSx/jtBjt+zzbt/7caJSgz MlFYk2dE5+TTVR/HztNu4qB1pmPK7TRx0dQUlmHatm2Slm1CjWbeaPMQK6a9ijr4 claMUqP0/rORr3KF/cMDEr9mEmiAwF78SARbg== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id nje7s6f2Qb33; Wed, 28 Nov 2018 16:55:10 +0100 (CET) From: Rainer Fiebig To: linux-kernel@vger.kernel.org Cc: "Andrey Jr. Melnikov" , linux-ext4@vger.kernel.org Subject: Re: ext4 file system corruption with v4.19.3 / v4.19.4 Date: Wed, 28 Nov 2018 16:56:51 +0100 Message-ID: <2547416.7Vy7A2kRpU@siriux> In-Reply-To: References: <065643a0-f9aa-a361-715a-03ca978d9228@roeck-us.net> <20181128041555.GE31885@thunk.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2435657.fxogZo8kkS"; micalg="pgp-sha256"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart2435657.fxogZo8kkS Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Am Mittwoch, 28. November 2018, 13:02:56 schrieb Andrey Jr. Melnikov: > In gmane.comp.file-systems.ext4 Theodore Y. Ts'o wrot= e: > > On Wed, Nov 28, 2018 at 03:16:33AM +0300, Andrey Jr. Melnikov wrote= : > > > Corrupted inodes - always directory, not touched at least year or= > > > more for writing. Something wrong when updating atime? > >=20 > > We're not sure. The frustrating thing is that it's not reproducing= > > for me. I run extensive regression tests, and I'm using 4.19 on my= > > development laptop without notcing any problems. If I could reprod= uce > > it, I could debug it, but since I can't, I need to rely on those wh= o > > are seeing the problem to help pinpoint the problem. >=20 > My workstation hit this bug every time after boot. If you have an ide= a - I > may test it. >=20 > > I'm trying to figure out common factors from those people who are > > reporting problems. > >=20 > > (a) What distribution are you running (it appears that many people > > reporting problems are running Ubuntu, but this may be a sampling > > issue; lots of people run Ubuntu)? (For the record, I'm using Debi= an > > Testing.) >=20 > Debian sid but self-build kernel from ubuntu mainline-ppa. You could try a vanilla 4.19.5 from https://www.kernel.org/ and compile it with your current .config. If you still see the errors, at least the Ubuntu-kernel could be ruled = out. In addition, if you still see the errors: =2D backup your .config in a *different* folder (so that you can later re= =2Duse=20 it) =2D do a "make mrproper" (deletes the .config, see above) =2D do a "make defconfig" =2D and compile the kernel with that new .config If you still have the problem after that, you may want to learn how to = bisect.=20 ;) So long! Rainer Fiebig >=20 > > (b) What hardware are you using? (SSD? SATA-attached? > > NVMe-attached?) >=20 > SATA HDD WDC WD20EZRZ-00Z5HB0. >=20 > > (c) Are you using LVM? LUKS (e.g., disk encrypted)? >=20 > No and no. Plain ext4. > -- cut -- > debugfs: features > Filesystem features: has_journal ext_attr resize_inode dir_index file= type > needs_recovery extent 64bit flex_bg sparse_super large_file huge_file= > dir_nlink extra_isize metadata_csum > -- cut -- >=20 > > (d) are you using discard? One theory is a recent discard change m= ay > > be in play. How do you use discard? (mount option, fstrim, etc.= ) >=20 > no =2D-=20 The truth always turns out to be simpler than you thought. Richard Feynman --nextPart2435657.fxogZo8kkS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE6yx5PjBNuGB2qJXG8OH3JiWK+PUFAlv+usMACgkQ8OH3JiWK +PUorA//cxifJkgEH+U8UUvb2ekdEwVaU7L4xbciqvYf4ANCvE/nCtuLvT3dtd2v r2gEe4EVqwvt+zuPt8ihdcxRtrMNvdaZQNcLd0NyWderwtWnrMRqbiQKldvt8gjX AGR1sPE5Otxmb3vksSSIoBWM1TzzDpSy1ANVNPLd3pJ+XvhVtGELN6nKpAoPgxHD Z5kW194mEvz7EzjeAja9KAQl6PMu7oBSl1MvBEgUZoGamxEzazIqFyZmnULW9Ceu RvDPi3yvs649S0kvIYgVccNKMmim9rwqyQmUWTwXn3cgXZ5AkrPaF4pu3aW2hawh wL8O0z+WwTy3yHR/kp/MjDZrnrAlp7eZSA/KuuSoDxYy/oVyuHO5OT3b/ASUVMro 3WWstgOhA/plHqIyUPjzOKWRdJ2hrFqAt4Krx2n2D7+H1lqMpnS8qxINJv9SdJ2b S4rWSqHUbacvwDbyxYfRxOyytbnWZKJcd2RoV+dRUREx5w5yEfEtKv5UofxchHpz wMbS6fQI5u/9VntOpG0+AVG24WF3j4fUrwYsEH3990P1vFfTAcgMM5iEbfvCl0uP /1/L4Eb2YbQ8RvoaY6QzvxF1gSgxITa07Zxp9gCjAMg93YniBRXQSVvKaiV+dZCk 7aV1XhZm3oN6X38McACcsonp2xwX2Ff6MiKNAphoNtMI5PyxYyA= =j4de -----END PGP SIGNATURE----- --nextPart2435657.fxogZo8kkS--