Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6216782iob; Tue, 10 May 2022 13:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyayDqEQdya1tvXNdEdHe7SNCbJUYr770kPJIvNcvE3bOd2yTn7YqAHB0IZUsVwgxtQ9jWA X-Received: by 2002:a17:902:a988:b0:158:9877:6c2c with SMTP id bh8-20020a170902a98800b0015898776c2cmr22162608plb.80.1652213096125; Tue, 10 May 2022 13:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652213096; cv=none; d=google.com; s=arc-20160816; b=YooRDBK0Lna9vsRlSaL6sIR2RXoOBLM4d5LuKc+0Elz7HNa1SeBnrwuSdBtnxBbOd+ LJPI3cl5UnAboGfrEcIMg9ge/LSdF0somH/zS7IZrDYsJUYWIUAvGlVKudGmRCHa8q2u G5Jxmq6XYsehjxNY2tJFyAVTff3bIl/LoI0hPEP7rlYC3jw3HHUWcYFndvB2xXQOQNdL WEBCEzKNQ2SSzcOIfyKfgCrQd7TQOS1nHXBigujA+PdJCxvCpciS5b1DLeCNyOhjjQ0V HLWM86HJPxJF0gF9oRh49sNLpgvdd6siu2B75cJo6cGBtPySEkt2Eg+zCBvoPPa/hocl r4ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SaTL43uuROid9hn2drwyZXUTh+yInUxqnEMn7ovEGLY=; b=yDBh5HxCx2Oq+ODiOZMWZG0yTTBzbDZP81AXTY0+lX9y+ACMXmawaUxo8NnSCJS6M3 YIXUgbfEwSoH4J/h6AImgTCV2RcGr07jQ18kIUOZ7qXo9My16buLTFGfo5HNTDAa6kgJ D7D9SY9EqF+/6C6HJRbUzEwcHW7JjhdGRqoaxyX4zy7xLAMu3CGGlfDBbFXFyWzYh8Vs iK9mjutvdSAKMy2nSnP1AgTZqiI0ooMTxyr6NLuUZnFGb6OId7hV5XME62FP/Ke82u4R WIewvutazURq1hw8S0EbQhZ3fx3LKj6mxOAn8M/uKYrlvNg2axuVaJCn4miQKOxPxemU x7XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="u7AzoJ/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj2-20020a17090b3e8200b001dcc9b92a8asi162933pjb.98.2022.05.10.13.04.39; Tue, 10 May 2022 13:04:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="u7AzoJ/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347108AbiEJQE1 (ORCPT + 99 others); Tue, 10 May 2022 12:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346995AbiEJQBB (ORCPT ); Tue, 10 May 2022 12:01:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B358B3CA52; Tue, 10 May 2022 08:53:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4284961673; Tue, 10 May 2022 15:53:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C17F4C385A6; Tue, 10 May 2022 15:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652198019; bh=9pgUcC73MMhE3nPFiSsB/Zp0JFryDLtpwGsW8VKXMIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u7AzoJ/Wk3+3/R2dR6hL3nO2cRTFVkpejdusu1cWWqVxNKpzc9Vy/meXirezGrwZi J0ZEbm2n4fxpjjgMY/pmT/vd2Mfu9pcKIxWKj95uWzWf40AodLu8S0c6nIM19gJ0Tw kSXcRleqg5eBZ5f/7ks7y1nufYS4P6+8qpjb9XOe0fmD6kocBMMPPBx+gDCifjtF1z 2Zp/8QdJFjY+q9EAns9A3uZUD9ZctwxPKJN+UbTg8PKs6esQzU2pPpusSbNwm8Am3L tgGo6JPSNRMoETWilBHweh5lLCuzXFJFNFzTyG3qS4ZYm5/zyhCRYffXVvbjjgP0Br uc7+JMwnO6kow== Date: Tue, 10 May 2022 17:53:32 +0200 From: Christian Brauner To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org, Dave Chinner , Theodore Ts'o , Karel Zak , Greg KH , linux-kernel@vger.kernel.org, Linux API , linux-man , LSM , Ian Kent , David Howells , Linus Torvalds , Al Viro , Christian Brauner , Amir Goldstein , James Bottomley Subject: Re: [RFC PATCH] getting misc stats/attributes via xattr API Message-ID: <20220510155332.3zm5nycl7nmuxgdx@wittgenstein> References: <20220509124815.vb7d2xj5idhb2wq6@wittgenstein> <20220510115316.acr6gl5ayqszada6@wittgenstein> <20220510141932.lth3bryefbl6ykny@wittgenstein> <20220510153050.cgbt3wezbvf2jfnb@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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-kernel@vger.kernel.org On Tue, May 10, 2022 at 05:47:13PM +0200, Miklos Szeredi wrote: > On Tue, 10 May 2022 at 17:30, Christian Brauner wrote: > > > But now we're in the process of extending the *xattr() calls to operate > > on mounts and filesystems so an additional getfsattr() (or another name) > > is not fragmentation imho. And I definitely don't think this would > > qualify as "crazy". > > In that spirit st_dev does not belong in struct stat, because that is > the property of the block device, not the inode. > > But I feel we are going round in circles, lets please not get hung up > on this issue. Linus will have the final word on which variant (if > either) is going to go in. Well yes, I'm obviously not going to be d*ck about it and go around NAKing it just because I didn't get my favorite name but I at least want to register my strong opposition to the current "unification" approach loud and clear. :)