Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8017154rwp; Wed, 19 Jul 2023 04:08:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFscKkGKyxUEQs2cWkVff9AmYBFO7bh7ZHk4R0M0PbVCtb852AmxtfhZOnTP8/v/dWoQgWT X-Received: by 2002:a2e:8715:0:b0:2b6:bc30:7254 with SMTP id m21-20020a2e8715000000b002b6bc307254mr13182330lji.13.1689764880853; Wed, 19 Jul 2023 04:08:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689764880; cv=pass; d=google.com; s=arc-20160816; b=Ra1AYTDxp44NklFU5TAXlWzDMEA0mly9H8jOXNinmELHVVeEqHFu/afnsBoe3m6acq 8HvuSke3RF1vatjGWqP+X6kcd8qCpbnvuSETpdTjZtPgz5DN/3Q0EQqiMuOWSw3uyKoD Ajr6n48zRqfnHKvG9+bSrY6a4/edgpzmbmaBMLXonU8xNp5icCCOZgpy9j6ld2/kgkUa i17W7sbh6vmqSjKc/NPpy1Al7/wNnFHZxBLSea/hvCxjtSpXA5rOLYwumck57sSz42jj llItpHu3qZ642D4imXJl8T6xAbWkHGkOE2aQTUrCtbM0+NW41eA+a/aQk6a0I7S20x01 CF+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=lvLGZstJ8wKorYy8rcLHdorayXbsT3iQ7MhbnharKpE=; fh=TSoJ7D95Mnu1GxbJnWkMfymnu2U0LJY3WBJ/HjvFwWY=; b=a5/TC0ll7XRAANsRuI0T8agIHq5XSHk0udL6D98RUVK2Bt8yyyxXHcuX+y8eTcmbIu ub9LnQqPG1tbg64Rk14OLL0WyX75Lt/3QrnOIxTiqvZut9V0LN5kMLg2C+G95HOZJfPX ea5xTJr7CGxP1eC66KK9bn7PskLEc64BY0XxR8dhU3v+HeQb7TKmztnlEVETJJIIhZco GvknPTND3Jk1LTGayec9bItg85uWW6W3PLptNP+l/8PH4kaW1QPCnLH9Bp8fwj021FTW rJI46tvqX5ChJxaRu0JJipVliznmmUACMDmxTBh0qsdAdwLyRHWJDgWcu6Kh+7tSDJga nK2A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tomerius.de header.s=strato-dkim-0002 header.b=M3N9Gj1I; dkim=neutral (no key) header.i=@tomerius.de; arc=pass (i=1); spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id re13-20020a170906d8cd00b00993860a6d40si2397233ejb.387.2023.07.19.04.07.29; Wed, 19 Jul 2023 04:08:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tomerius.de header.s=strato-dkim-0002 header.b=M3N9Gj1I; dkim=neutral (no key) header.i=@tomerius.de; arc=pass (i=1); spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbjGSKyv (ORCPT + 99 others); Wed, 19 Jul 2023 06:54:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbjGSKyu (ORCPT ); Wed, 19 Jul 2023 06:54:50 -0400 X-Greylist: delayed 174 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 19 Jul 2023 03:54:48 PDT Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9B79123; Wed, 19 Jul 2023 03:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689763901; cv=none; d=strato.com; s=strato-dkim-0002; b=YFE3oRIx5xOpJJkrH2X2V/kuuQ7dXiLg6xxrLpPcYM1jXz/zzdjAmrmf7fhceOM82S ogQt+TotYoe4773Jn4uPBastZLsaOi5ir+Yp/hYlK/JMtvpI/hnUvg8G1UvuOOwqCXJy v/WXn4jrRkn9pIIS38ychBdfiC5qOVdrlsko6a/9Zgwu6+QViFS2VVLTXdRObFf+5uAl aWNzDbdaH4lJr4X0gnmsnm/eXTRBUQEe1seBJuuBbHNTIrP+SmsGZ+33cTeT7K+iqius SOinfVhCFIZS/w4je3ypKMMvS5P46s60emDY3ZPb2quw3BCzrfsTO4WgKqivc7jP+0Bw RzTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1689763901; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=lvLGZstJ8wKorYy8rcLHdorayXbsT3iQ7MhbnharKpE=; b=qHzVZrne5P4O25MRsho6FvQgsyWrjfiVzZJ31HhjAf92pDc5FhipQRyQaM0r4WjRN1 GkgVDC9q01lwiiKwPFhmyETrYmjJs5hpn1bb0ymnf459wNtzCFSTMcWKiCGpy/SQdNbe ebKNXXKFTSLyoN8hJo+KoFV1Jw3+dPzfEqL7LgvLbxdBZ8SxTqmeF3zDYp1Y8vnroC0c Sm7uOnQ2QWaZW0hFxmhVe1ceA6RgOcSEgi3lhBjoipSGjQmyr1nw/1gQ7pG50qGrn+8e mRoTUA+V34KsQj1jetUEkePgvJBdiofQAohbWFRtLFDDmVTx148I+3O1tVrExTBMDfvC Sbiw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1689763901; s=strato-dkim-0002; d=tomerius.de; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=lvLGZstJ8wKorYy8rcLHdorayXbsT3iQ7MhbnharKpE=; b=M3N9Gj1Ihv8I9YUfstwtzWIFX3+X2U9J5CpGZ6oP7Di3hrzt3WsVVJv1AOAErs7Ove CUu06Y8twnNwBNCHrSlB2nck7Vs5gxPbe0zltkHifMwKwABBUophuepqxMzpFUdWTCA3 Qap36HEHkzX9ZZ59g3CLLXZob5ZWjMinDx1ttADn2Ah8kn9kYVxYd6Lxygin2qWGA+MY MruND7adGncDE2d/mlXQ2mp/HQtqB/n1A3qAQ11K0HNW7hKknR+WGr1NyByh5uKO+I5l QtnBiarBhsYIBGx1XvhsYuZVbmKa+oCrmut3yi6UzUbQBfaIZEcBZGhDCEi1c+nXbBDa +uiQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1689763901; s=strato-dkim-0003; d=tomerius.de; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=lvLGZstJ8wKorYy8rcLHdorayXbsT3iQ7MhbnharKpE=; b=izeiG+UjQBLTpfzhdAuho9H+oPiIG8m14QCvDr/1SnrXC/4LZIUG7e8H9/IuiaHNyB l7nJ7yHBtDsAwrCpWADQ== X-RZG-AUTH: ":J20NVVSndvp4466vFhCXUxk5AzpkHwfKmUFBoZWB6MoGGjIYlcL1veuiArSdmAK/Sg==" Received: from jukebox.tomerius.de by smtp.strato.de (RZmta 49.6.4 DYNA|AUTH) with ESMTPSA id Y0a99ez6JApf0CC (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 19 Jul 2023 12:51:41 +0200 (CEST) Received: from [192.168.3.20] (helo=tomerius.de) by jukebox.tomerius.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qM4mS-0005X8-JQ; Wed, 19 Jul 2023 12:51:40 +0200 Date: Wed, 19 Jul 2023 12:51:39 +0200 From: Kai Tomerius To: Theodore Ts'o Cc: "Alan C. Assis" , =?iso-8859-1?Q?Bj=F8rn?= Forsman , linux-embedded@vger.kernel.org, Ext4 Developers List , dm-devel@redhat.com Subject: Re: File system robustness Message-ID: <20230719105138.GA19936@tomerius.de> References: <20230717075035.GA9549@tomerius.de> <20230718053017.GB6042@tomerius.de> <20230718213212.GE3842864@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230718213212.GE3842864@mit.edu> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org > In answer to Kai's original question, the setup that was described > should be fine --- assuming high quality hardware. I wonder how to judge that ... it's an eMMC supposedly complying to some JEDEC standard, so it *should* be ok. > ... if power is cut suddenly, the data used by the Flash > Translation Layer can be corrupted, in which case data written months > or years ago (not just recent data) could be lost. At least I haven't observed anything like that up to now. But on another aspect: how about the interaction between dm-integrity and ext4? Sure, they each have their own journal, and they're independent layers. Is there anything that could go wrong, say a block that can't be recovered in the dm-integrity layer, causing ext4 to run into trouble, e.g., an I/O error that prevents ext4 from mounting? I assume tne answer is "No", but can I be sure? Thx regards Kai