Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7794033rwp; Tue, 18 Jul 2023 23:44:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFl9aE31iwzAqRYGhGmrxfNf8Yx6hFdaMaK+3RLSfFad8JWs9lY+gRQQgAgsUyK9Ef0ZXQ X-Received: by 2002:a05:6402:1819:b0:51e:3cc5:e036 with SMTP id g25-20020a056402181900b0051e3cc5e036mr1725290edy.18.1689749086619; Tue, 18 Jul 2023 23:44:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689749086; cv=none; d=google.com; s=arc-20160816; b=YUad1DaOA3i0wVBXX+GZR9dcIvrr79OwMniPpl7v2ex1594Rx4aMH6GZFMOWYJrB1M wDDRQrKbI2z4r6S5+5erx1sJngQf6RaM5pN1MuWR07WGfjLS7XjrEZ6rfdK05bkOeoXl tE89jxEh2t5w+TQ9jObliHC4b3dUX26OVHbrWsMe+i2VR86MmJQA3NF7eFxegtSftsxh J2aGEUtYDlE1L8t3hTzMPHfafkGQMwFhGiw3ZosKEQ48ZKrAZ3+Q/neulYhXX4/Ta3pb 5JAQGOD1SPeU8BnoTOrj9nOFGJhEmCKwChQ8q7rUUQ/1zrEF6yflW7Oo8ikY4+GXioUO 9gJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=cWa6HGaZwpImQA15LkIK8sBQ2Ff+wdji408vY0RBS6A=; fh=1ES0/VUThHOSy5DyUyhvmG/wyq9dn3AuHzVCM/XL7lg=; b=uNWmSOWcBLCC5+kyDmUX1WudNvSGPhyxBOrby+Hs0S0s82hSAJ18uS14mvfHeycs+J B5CAcMlBvXt7E6OmAIyjEvdCkUoJSaLuvjboleDsGM2lfV7B5kmKMZDaYbUqQ49BUrL1 486fBss/pB2t2o6iQLqSzHOIQMT5f3BiGuVjfcXA0yKqg98OzBwuRyaIp6qaYiuzSR97 e4EDb1XF05Ip6ABz4OK9accvKubBR2rnZtMSUIe+mAFU1Wq3o6WvTHZcLcwWTNbwYJ91 MytBy0f6Ljvc9ptaJsuCDoJpxhvVhKFPj+bYThY8Rx+1L+PYeBOtInm+rpHNZLYj3+c/ BCHQ== ARC-Authentication-Results: i=1; mx.google.com; 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 c25-20020aa7d619000000b0051e249ae6c4si2590586edr.293.2023.07.18.23.44.16; Tue, 18 Jul 2023 23:44:46 -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; 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 S229831AbjGSGcy (ORCPT + 99 others); Wed, 19 Jul 2023 02:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230143AbjGSGcx (ORCPT ); Wed, 19 Jul 2023 02:32:53 -0400 X-Greylist: delayed 598 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 18 Jul 2023 23:32:52 PDT Received: from mail.lichtvoll.de (luna.lichtvoll.de [194.150.191.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33A691FC8; Tue, 18 Jul 2023 23:32:52 -0700 (PDT) Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail.lichtvoll.de (Postfix) with ESMTPSA id 4FB5F747857; Wed, 19 Jul 2023 08:22:44 +0200 (CEST) Authentication-Results: mail.lichtvoll.de; auth=pass smtp.auth=martin smtp.mailfrom=martin@lichtvoll.de From: Martin Steigerwald To: "Alan C. Assis" , Theodore Ts'o Cc: =?ISO-8859-1?Q?Bj=F8rn?= Forsman , Kai Tomerius , linux-embedded@vger.kernel.org, Ext4 Developers List , dm-devel@redhat.com Subject: Re: File system robustness Date: Wed, 19 Jul 2023 08:22:43 +0200 Message-ID: <4835096.GXAFRqVoOG@lichtvoll.de> In-Reply-To: <20230718213212.GE3842864@mit.edu> References: <20230717075035.GA9549@tomerius.de> <20230718213212.GE3842864@mit.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Theodore Ts'o - 18.07.23, 23:32:12 CEST: > If you get it all right, you'll be fine. On the other hand, if you > have crappy hardware (such as might be found for cheap in the checkout > counter of the local Micro Center, or in a back alley vendor in > Shenzhen, China), or if you do something like misconfigure the file > system such as using the "nobarrier" mount option "to speed things > up", or if you have applications that update files in an unsafe > manner, then you will have problems. Is "nobarrier" mount option still a thing? I thought those mount options have been deprecated or even removed with the introduction of cache flush handling in kernel 2.6.37? Hmm, the mount option has been removed from XFS in in kernel 4.19 according to manpage, however no mention of any deprecation or removal in ext4 manpage. It also does not seem to be removed in BTRFS at least according to manpage btrfs(5). -- Martin