Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp706659ybh; Sat, 7 Mar 2020 08:17:40 -0800 (PST) X-Google-Smtp-Source: ADFU+vsM42lozf9nG7rpNIQ9PuCt26FALPxYSlsy/hVSNYxYvzYCSCnRGAjQ012TvIIltLGsTrie X-Received: by 2002:a9d:1d2:: with SMTP id e76mr6554542ote.223.1583597859886; Sat, 07 Mar 2020 08:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583597859; cv=none; d=google.com; s=arc-20160816; b=0kBLnFCVeg0lVVFF7hxgD10jnIJF1pc4QB9hb0Ppo5DYUzebgzEn3cR3iFD2OXPlem BvdbaVlMO5Yr8sf41slR9X1ZsBsdn1kCf0WHIf3qoatL6HM7dSBw8/OCLipOtdWRttOM lupVT1relnV0i6B8JLC2K7qhaCrWqSpAN6aVw1XfjLhq2TsLYN4XLH1T+R0oTDu5CXHy 5xa2+mvlkiDtNAgua5QpPUCDy6fxCpKM+u7SwCkla0lWrs4iRjzYIhXJRB3QVEEF/CkY FLdjbvgPTQpAprbtvChIRyYTkD82zxnvXJE6fdCE4tjfydHqdOgcNm5/ax/NLxO65d/i XyQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LS4yBJ2q1a712xWoDIQdM6xSgcxtSryN/LuTGfUnP6o=; b=ggnloSiwW7i079IPrnzOioLpM5t3iq1N6wsbyFa6CvtELfgfKeYAcnTV0cofUqH07k F1mws1uHOMZywzOBB9WBUYO7L7JiS8JP9YC4dn2foAxXXsvOmBYWc97S7f/aXQg+BimD 1YexiO2Gd6rDedKkg3a6m/MhmPa+x0ZyjQf0H3lAOKq3XB3Mj1OLapt770zyy7FIFiis tcl5lbpKe83nZ7RPXXLOY30vG9uzZJL7AoiPpbkBPO7ZteFUvzx170lAaIQO/TtZmF0L 9E456fGEx3Xvr0/dSr8wtl2GNk7tjP2VZbO/zbLv/VBzxafsy1isYGowkRuyVsVUGmIn xyzA== ARC-Authentication-Results: i=1; mx.google.com; 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 r24si3205926otk.302.2020.03.07.08.17.13; Sat, 07 Mar 2020 08:17:39 -0800 (PST) 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; 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 S1726168AbgCGQRK (ORCPT + 99 others); Sat, 7 Mar 2020 11:17:10 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:46759 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726139AbgCGQRJ (ORCPT ); Sat, 7 Mar 2020 11:17:09 -0500 Received: from callcc.thunk.org (pool-72-93-95-157.bstnma.fios.verizon.net [72.93.95.157]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 027GH5wc020488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 7 Mar 2020 11:17:06 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 73A9B42045B; Sat, 7 Mar 2020 11:17:05 -0500 (EST) Date: Sat, 7 Mar 2020 11:17:05 -0500 From: "Theodore Y. Ts'o" To: Andreas Dilger Cc: linux-ext4@vger.kernel.org Subject: Re: [PATCH] libext2fs: don't use O_DIRECT for files on tmpfs Message-ID: <20200307161705.GA99899@mit.edu> References: <20200221214056.39993-1-adilger@whamcloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200221214056.39993-1-adilger@whamcloud.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Feb 21, 2020 at 02:40:56PM -0700, Andreas Dilger wrote: > If a filesystem image is on tmpfs, opening it with O_DIRECT for > reading the MMP will fail. This is unnecessary, since the image > file can't really be open on another node at this point. If the > open with O_DIRECT fails, retry without it when plausible. > > Remove the special-casing of tmpfs from the mmp test cases. > > Change-Id: I41f4b31657b06f62f10be8d6e524d303dd36a321 > Signed-off-by: Andreas Dilger Applied, thanks. - Ted