Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5950625ybi; Tue, 28 May 2019 23:57:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyadQGMgmfAk2cpal6I4nPvwNwYbfUEo6Y4frIKZ3DoUO/QICAxg2hzIqv7FJ6w7+0yCLo4 X-Received: by 2002:a17:90a:1a84:: with SMTP id p4mr10427785pjp.15.1559113056015; Tue, 28 May 2019 23:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559113056; cv=none; d=google.com; s=arc-20160816; b=zqU4JX6/GJuUki8fHe93whocGoybkQuFBRpopX0oyhU5pYoCz104j42bztKMLxO3MQ 3Ju+JzyhQkg1L5+glUqg69Xru4B1BkwshjpgED/ALVrrAAFlqlgi1oyl5LuDAlt5mlNF hdIGtQAJqlvLI1Crdym7+bXgZf57C/7pg1dO+gNinP5nYA0OJcNqOH0H/TKXuzFIIGYJ qIAFZhx1Ioselngo4+HAfWEcaJwKK7E2Y5mbma1jJv8SQ4p+tAGkjyttDhHsWBXd2Z9n zZe56DIurUr8yQZrOZu/ccIV+qmxXuu3pKDGzLW+o9QJwRdm3Wz2clX3L35t2c9tWFAM dJ9w== 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=xy/XIwjmIFCgclxo6NMMP4he3jCcIbmaHoeiaUStrCw=; b=drv4Yo/BlUqO01KiFkW2RDMjKzDaUopz+xsU4bHqOamQSyVCL0s1nv6ER/qp/9P8Yj Ll+fFX7jvGdmh8k69fxElIEhDr2kECRRf5z7Je17Zr1w17TrR6w5/PTlB80S64hZw/b3 AGOwM3VtvghYp0s54LYR3H/3gFajtpAzWHNwmoigxt7Uk/mHoeWOpkkNdxOrJbM2YBRQ YldUq5UVDmZ728UqSTlMGDc3wX8OUX2qbpOkKV5Ugn8nKO9l9HNimGT0p7GnSdt8DByx e/rlBvgr3NBa2dRBy/sm4bUBYsOH1F45L2Wjku1chgxTNhzIEbAkPFrAtnztB+ptDYQC bjOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sF4PTQsw; 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 l59si5880741pjb.38.2019.05.28.23.56.52; Tue, 28 May 2019 23:57:35 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sF4PTQsw; 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 S1725894AbfE2G4v (ORCPT + 99 others); Wed, 29 May 2019 02:56:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35340 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfE2G4v (ORCPT ); Wed, 29 May 2019 02:56:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xy/XIwjmIFCgclxo6NMMP4he3jCcIbmaHoeiaUStrCw=; b=sF4PTQsw/jy7WWcotv36VJ99m 0DFf92y9jdX1377myhMyIx2nlEnwyzTkk+/dBhbvkFIXRlc/h/Mwves4DgPncCG9yrJ9YDTW1F0KJ mW93LBneSVfvDnxBIjHHx+57NsqZDWbs9p9qO68ESHqiACp6sKqbDqnpiVwKiblzPZf2K//sZ/Fe0 Kw7TPH8G5AgyVvO22xQWFhb3DZJRxm7hS1jigO2bN9xF8XENJGn/aYkHG+fx9TunI9gpzoDdrOkx9 nkswLu8Uh1Or256ibMJcIVJxzziMnwCC45FssQoDYGref4hEoU9xbHCFL6vRG8ROxlYRR62PWKA+A x5ODNWEcg==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVsVz-0003Qg-QI; Wed, 29 May 2019 06:56:47 +0000 Date: Tue, 28 May 2019 23:56:47 -0700 From: Christoph Hellwig To: Theodore Ts'o Cc: Sahitya Tummala , Andreas Dilger , linux-ext4@vger.kernel.org Subject: Re: fsync_mode mount option for ext4 Message-ID: <20190529065647.GA8405@infradead.org> References: <20190528032257.GF10043@codeaurora.org> <20190528034007.GA19149@mit.edu> <20190528034830.GH10043@codeaurora.org> <20190528131356.GB19149@mit.edu> <20190529040757.GI10043@codeaurora.org> <20190529052332.GB6210@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190529052332.GB6210@mit.edu> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, May 29, 2019 at 01:23:32AM -0400, Theodore Ts'o wrote: > If you have protection against sudden shutdown, then nobarrier is > perfectly safe --- which is to say, if it is guaranteed that any > writes sent to device will be persisted after a crash, then nobarrier > is perfectly safe. So for example, if you are using ext4 connected to > a million dollar EMC Storage Array, which has battery backup, using > nobarrier is perfectly safe. And while we had a few oddities in the past in general any such device will obviously not claim to even have a volatile write cache, so nobarrier or this broken proposed mount option won't actually make any difference.