Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp991277pxu; Wed, 2 Dec 2020 08:22:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5k7WaeMAXbGFzLxDm8VZUnfM3nCHQlP2WSRhZnzUtri/DEDx/R08zst0KdojgdIW3TOe2 X-Received: by 2002:a17:906:e082:: with SMTP id gh2mr514363ejb.406.1606926138162; Wed, 02 Dec 2020 08:22:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606926138; cv=none; d=google.com; s=arc-20160816; b=PEuAIqGExWpqB4Vm+s8PZSlIlxMegjzWLjrFBOkGMzH4PJa2cHV1lZ1n5ZJjB/tNZ/ RT+jsmKWRVXh5MgHqRBaaCQJsyjEVDpyyGhBz+dqYkzpeCL2yuAKoKZuIClKAIZJCi2N 2u54Ak/QD1BPh7ShQkN6iMSzzOby4pDG+oOwxt8+n65JAJ5l7pHYx9Db2yfESqYoVlcv UXl5vb6/WgjiPNNs6clmvzSigha5E86MY0gj2o7cxxa+SzsMH1LhTng8ITs/gyiY4YNi 0SgHHjlhzKhuJIOuXyP05tqFMBvQijA6ItcM64ms5lFOV8me2TKV4OTRkxRl7sf9xQr9 cbqg== 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=K37eg33TEYHBPIc9hdERySXaT7ddLk31VnYDOJlDBsg=; b=mRtszxL8eVfkW2UsjlyfxpiQgQ5YgU4D9k32xyAeZW0fjkLxahMKuszwiJc4zSe3j+ EMQeuun6bSmXAFagtveGi7Bj7velFrg5fcLNnkswWM2twkWXx+OCCCj7HvfQfTUMYhx1 TudjeLiTSOyy21ZaMOjwZiFyHYfQAKovf1EOMYTQCpFB39kXPR0tqNNecZDCuX+ZaCkP ELyKUmkKdcSQWfst5vzEr0baVtUl+/dDhEnao0IZ9cqSyyxjMQpLB9KA8rhMBwOIGnqA wVxapxrKH6nQBZgy6RLrkbulfW6BAwEp4t1LXmzFdF+DrQml219nixzuuLhEncDcJ0bn YXcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=Qh43GnRo; 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 us11si215245ejb.665.2020.12.02.08.21.47; Wed, 02 Dec 2020 08:22:18 -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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=Qh43GnRo; 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 S1730715AbgLBQTg (ORCPT + 99 others); Wed, 2 Dec 2020 11:19:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730709AbgLBQTf (ORCPT ); Wed, 2 Dec 2020 11:19:35 -0500 Received: from mail-vk1-xa42.google.com (mail-vk1-xa42.google.com [IPv6:2607:f8b0:4864:20::a42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CA02C0613CF for ; Wed, 2 Dec 2020 08:18:55 -0800 (PST) Received: by mail-vk1-xa42.google.com with SMTP id s135so521156vkh.6 for ; Wed, 02 Dec 2020 08:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K37eg33TEYHBPIc9hdERySXaT7ddLk31VnYDOJlDBsg=; b=Qh43GnRo7YfF7QXgCietAKT8+vkZPBqYJF1+My0HDqIs9rZIo8YSN5dPnKbhJt35/O Bk92brV0mfpexLTOm4P1D2e/jzzHq0aEycI6SbiBHQ4W9TdRZzRMWRILKTnT50xTSA2i iPs17ztWvUY6GyDcrTIIhpbuNNzPUr9ojKwfs= 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=K37eg33TEYHBPIc9hdERySXaT7ddLk31VnYDOJlDBsg=; b=D0Se+P03Nr66o5UR9AgtkqFPGW46pF8C3nV6U6MsMTYAfVxAvPBE5f+iGS/nbxx6BF 5INRLG2jbE4gMN45t1u8/sTY3qzkeSJ+e/Q0Dm1cL8J4XMNPA9Yp9TbHjQjsjOSCMa76 J4YlXM6hi89C1q2unhbOG60Ucb9doVKSe3ITR91/Rvrsp5TUuiv7Mam2AEzu/9bdq3R0 DSAHbn2uAFWEkKHKGAjqmTusXxmvXpN8/c2LAPuQx2q8v5f6GKlRMMsiZpKpFcFLogHs w/K10jNmodTOek/YyV8Qpgyhl0DxZTH8A25uTHjIXkGWyDXX0WlU88bYMDnZbz1TJV7/ gjIQ== X-Gm-Message-State: AOAM533iO1b3KRCALXFoKDGm/70b2L3snbbVs3uoZvSo0CM3EZ2+74/L xC/EQ2UjZwbBnBziUKuj6VZN2Oss+8/dM8bKtIfnog== X-Received: by 2002:a1f:e7c2:: with SMTP id e185mr2204229vkh.23.1606925934724; Wed, 02 Dec 2020 08:18:54 -0800 (PST) MIME-Version: 1.0 References: <3e28d2c7-fbe5-298a-13ba-dcd8fd504666@redhat.com> <20201202160049.GD1447340@iweiny-DESK2.sc.intel.com> In-Reply-To: <20201202160049.GD1447340@iweiny-DESK2.sc.intel.com> From: Miklos Szeredi Date: Wed, 2 Dec 2020 17:18:43 +0100 Message-ID: Subject: Re: [PATCH V2] uapi: fix statx attribute value overlap for DAX & MOUNT_ROOT To: Ira Weiny Cc: Eric Sandeen , Linus Torvalds , Miklos Szeredi , David Howells , linux-fsdevel@vger.kernel.org, linux-man , linux-kernel@vger.kernel.org, xfs , linux-ext4@vger.kernel.org, Xiaoli Feng Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Dec 2, 2020 at 5:03 PM Ira Weiny wrote: > > On Tue, Dec 01, 2020 at 05:21:40PM -0600, Eric Sandeen wrote: > > [*] Note: This needs to be merged as soon as possible as it's introducing an incompatible UAPI change... > > > > STATX_ATTR_MOUNT_ROOT and STATX_ATTR_DAX got merged with the same value, > > so one of them needs fixing. Move STATX_ATTR_DAX. > > > > While we're in here, clarify the value-matching scheme for some of the > > attributes, and explain why the value for DAX does not match. > > > > Fixes: 80340fe3605c ("statx: add mount_root") > > Fixes: 712b2698e4c0 ("fs/stat: Define DAX statx attribute") > > Reported-by: David Howells > > Signed-off-by: Eric Sandeen > > Reviewed-by: David Howells > > Reviewed-by: Ira Weiny Stable cc also? Cc: # 5.8 Thanks, Miklos