Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp411958pxu; Tue, 1 Dec 2020 14:38:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyA4Qsseqc6OVi0fddifq3yDJSWNHn0/CMFzAU5HAkfsuJ2inmrCJIjIz+QWqfWNWfq0LKF X-Received: by 2002:a17:906:4d8d:: with SMTP id s13mr5262357eju.305.1606862297181; Tue, 01 Dec 2020 14:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606862297; cv=none; d=google.com; s=arc-20160816; b=vouBiQTh80P7E9Zqgt/H3JFm+MIWUvixPxa4+xbibkw5BkoUgmyQ+zrse4NmqleoT7 Z7pv3pjOw3lPTqN5/fdMP2G7O/h85O5sjFX2+/rlbRsCigYlx1vXbeWxzE7wZo2V+3+b z+jWyzM/SSaIhudEoK4yihTMsrh4x6JDPPlG3PZS63RRXCuFZ12orYFRWvaiEXKYvfWP 5xZJGQD5yufkoWEEO7oiGzg03wY6kmE2sShM4iEbncXMe/PH/fx0AQnJbEUMqK7FsuVK lQ27Yq/kLGoCd6t3bfK/22gJuCmn+Yg53tpHD+aLdMKZfqq5fzZBZ5Fyf9hcmslKfvwW pfZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zNo0eDx11R5r5Mt473lP4z7j4i15NYf5XYAT5tq3Gc0=; b=opj627h2gt3cSlYcc+wDtonQKbarJelLy42P6V7kBV/qsKDU9Br0kiqW9rlw4MZoeO kqRPLDVamDcQQ5z19NuZHzF680J8j+JhBhC+6wmUZysju6TMN+T33bKP/pvoLaoJpA5p 77cTSKnlLEclTp44Q3nEEY1/bYXUTU4m99AZIJbyR+468plTpXjSkXsr/CbKRXb7Ip2v Y/R9LY24pZg49qmx0eg8oizAwCTsvxxyJSVEveRtwlZKcywdn/0PaQPSMRfsamoGf2tG u1ORNXVwOwu0Kg703LS+f7Z44ddL0e7vVv165iRLP8hUdIuhSZhVL6+kHVOyl2anxxOd NiLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=S1Fq2hOV; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si831365ejc.166.2020.12.01.14.37.45; Tue, 01 Dec 2020 14:38:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=S1Fq2hOV; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725983AbgLAWNT (ORCPT + 99 others); Tue, 1 Dec 2020 17:13:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbgLAWNT (ORCPT ); Tue, 1 Dec 2020 17:13:19 -0500 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8B9CC0613CF for ; Tue, 1 Dec 2020 14:12:38 -0800 (PST) Received: by mail-lf1-x143.google.com with SMTP id u19so7804328lfr.7 for ; Tue, 01 Dec 2020 14:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zNo0eDx11R5r5Mt473lP4z7j4i15NYf5XYAT5tq3Gc0=; b=S1Fq2hOV/kCBqQU8MqqsgrJxYn/JkHGSu3iKGGI7rqsYDk3nXp4Wmv7ymBiaVZjkfx x/R8OjysAny2WzYn+051zNfaEQTfvUkUSJlJmD5nwstVM8N11SsWolyE9NGkZjGd2qk+ XAspcHql8KHCJhg6JN517UT+nt1ue0tzsTvrs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zNo0eDx11R5r5Mt473lP4z7j4i15NYf5XYAT5tq3Gc0=; b=BiocLouKmdOw5comsPHYuAQtYNeUVZPd/4OpnZdZrWY5lt02nZppZvKpHXa172EaXj 6YhzHrJl5n4LLQc5xKiWSKPOfEACrbDgRdyOOZEE63W0IWXUnqU0iHxohLcDYqCwiNS5 GCv5apY7uztfWno4Sz9lF1piebkr46CaHnHjkPuBZD77lKQSLsSMw9Qn2Zf+3HudfEmt jgyYZijd/p7kph9luUCePmRcecR4nHfHhp015hFwV/IwMrxBYZ6LpGkaoYhDfvamQrR1 eAHZHBF+9Ih5qFm+iOUf5rfZ9B4tIX6+Uc2EQ2GHl7YfU8EG/nMmnoXtEfQCF57cmu1V XoWw== X-Gm-Message-State: AOAM530IFI2Zdg5jfM17blM+d1Cf7bnV0ioYHsNa/WRNIHFEeYvz7hnv 7cGrQ3Jst2paVOR9Gq9vsxeUVwwvsEv8Tg== X-Received: by 2002:ac2:4831:: with SMTP id 17mr2260387lft.487.1606860757132; Tue, 01 Dec 2020 14:12:37 -0800 (PST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id w21sm122571lff.280.2020.12.01.14.12.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2020 14:12:36 -0800 (PST) Received: by mail-lf1-f48.google.com with SMTP id l11so7867917lfg.0 for ; Tue, 01 Dec 2020 14:12:35 -0800 (PST) X-Received: by 2002:a19:c301:: with SMTP id t1mr2023760lff.105.1606860755499; Tue, 01 Dec 2020 14:12:35 -0800 (PST) MIME-Version: 1.0 References: <05a0f4fd-7f62-8fbc-378d-886ccd5b3f11@redhat.com> <20201201173905.GI143045@magnolia> <20201201205243.GK2842436@dread.disaster.area> <9ab51770-1917-fc05-ff57-7677f17b6e44@sandeen.net> In-Reply-To: <9ab51770-1917-fc05-ff57-7677f17b6e44@sandeen.net> From: Linus Torvalds Date: Tue, 1 Dec 2020 14:12:19 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] statx: move STATX_ATTR_DAX attribute handling to filesystems To: Eric Sandeen Cc: Dave Chinner , "Darrick J. Wong" , Eric Sandeen , Miklos Szeredi , Ira Weiny , David Howells , linux-fsdevel , linux-man , Linux Kernel Mailing List , xfs , Ext4 Developers List , Xiaoli Feng Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Dec 1, 2020 at 2:03 PM Eric Sandeen wrote: > > That's why I was keen to just add DAX unconditionally at this point, and if we want > to invent/refine meanings for the mask, we can still try to do that? Oh Gods. Let's *not* make this some "random filesystem choice" where now semantics depends on what some filesystem decided to do, and different filesystems have very subtly different semantics. This all screams "please keep this in the VFS layer" so that we at least have _one_ place where these kinds of decisions are made. I suspect very very few people actually end up caring about any of the STATX flags at all, of course. The fact that the DAX one was apparently entirely the wrong bit argues that this isn't all that important. Linus