Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1423898pxb; Wed, 12 Jan 2022 14:34:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwygYA93uqPW9doFx9cYXTEqHO4vilO7Id/ZfhyLZQFubcdMNvKh3okZQcgi5fwJyKTbd6j X-Received: by 2002:a17:90b:2246:: with SMTP id hk6mr1861712pjb.191.1642026848967; Wed, 12 Jan 2022 14:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642026848; cv=none; d=google.com; s=arc-20160816; b=AD9sUrKMsIm4xhVlH2X55dL96LXKcXINo34vyKuluuoanTvElu5wrdNSTXUDmbB191 FXXjDUWwXSDIvyzjNmZGdxxapqwvl5DY+ofqyxCWjF23ij9Wr5br5CUc2xtqQigciRPx LINZ3lb0mtK7VBs0xq5p4vko/H50Zwv51Y8EuyYIhI0j5UyGa3lTA/9Y4RRLbrFpY9Mt XNylvy/aJgUSdgwj1B93Z7usxLk7wRc/jamy88c+7UHkoZGCALy5zBpkrhZTZwN6+L8B JdSZysSK6fzoG33/dfXrxS23R2JzCSxAYC0zi4YQP2JljnV1WDavGKwd7oBgjvocfF+V 2bSQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5SYRKrelbUcT8UDzxAN+Nb5s1/112dY1hzNg3RG1SRc=; b=GKGubIpFLIyaSAMouhlIZ3TNQXaCkD8Y/jMkp1RrSn1BBFjOqZhJUEjCXPoGbnUdye IchYbmktPkr2hYkYSPhqrVkR5bKLXm0Gd6xfg023DulHZmGS2mkt2vbheuxNnMeA7zzM RWn6HZrT5KqFv042ES0yamUQxAzc3WemigwaWgbVA2Bnm7pZRmbydwZsKBJiuj+Upl1u Tno2EzR1eVcNjbd8BiwrqKa3vG9Qi6TgYNBgbc5jThpHe7p/rApSyWB2ttZ2IZuAilmY 0RCZ12kaWmtq0Cv4NPbTyxwTZ/BRtegiqHx7jO7i1jAsdELNZ8uViSe8tC/T/q23m2dy vHsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=i7QUF05A; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-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 x13si853648pja.42.2022.01.12.14.33.53; Wed, 12 Jan 2022 14:34:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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=@infradead.org header.s=bombadil.20210309 header.b=i7QUF05A; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351403AbiALIGm (ORCPT + 99 others); Wed, 12 Jan 2022 03:06:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351400AbiALIGm (ORCPT ); Wed, 12 Jan 2022 03:06:42 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88571C06173F; Wed, 12 Jan 2022 00:06:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=5SYRKrelbUcT8UDzxAN+Nb5s1/112dY1hzNg3RG1SRc=; b=i7QUF05Al2ZZ8uol13811H1waT 57T14Zi6fBxmF5qfsR6p6ZXZbzwjS44de2ALjymVVtwbHrTSdIfRnkoItkO82yApcDMPfersxvjSY KK4DPNkZhbdoIz9OTeFHh3p3At0fiOI3rRSy8oquFDfm3lKMv7tYpcksZpbNILbX5VITPk5JwaTNF lajusbsobFHnVAvc/Q/wwMVazB8RussDWqoZVQaXf8XO6IyFv+hNXXTAPWJznDJScHOdwcbwnAeDG NFj9FJ0qFpglPlYX6bZdQaUrVIWV25D8qDu8Do95n9PfuIraXvu4Gi4rzIZXkNp/FYQMfiZXMzp70 WjFB0MuQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7YeU-001T4W-Hv; Wed, 12 Jan 2022 08:06:38 +0000 Date: Wed, 12 Jan 2022 00:06:38 -0800 From: "hch@infradead.org" To: Trond Myklebust Cc: "dan.carpenter@oracle.com" , "hch@infradead.org" , "linux-nfs@vger.kernel.org" , Lance Shelton , Richard Sharpe , "Anna.Schumaker@netapp.com" , "linux-fsdevel@vger.kernel.org" Subject: Re: [bug report] NFS: Support statx_get and statx_set ioctls Message-ID: References: <20220111074309.GA12918@kili> <56202063c1eba6020b356a393178b9626652198e.camel@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56202063c1eba6020b356a393178b9626652198e.camel@hammerspace.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Jan 11, 2022 at 06:08:27PM +0000, Trond Myklebust wrote: > So firstly, there already has been a discussion of this on linux- > fsdevel (and linux-kernel): > https://lore.kernel.org/lkml/20160429125813.23636.49830.stgit@warthog.procyon.org.uk/ > and the consensus at the time was that these attributes were not needed > in statx. And apparently someone now has a different opinion, so we should restart it. > > The other issue is that this is not a duplicate of stat. It's adding > support for both _setting_ and reading back these attributes. The > ability to supporting reading the archive bit / backup time, for > example, is completely useless unless you can also set those values > after backing up the file. Right now, there is no support in the VFS > for setting any attributes that are not part of the standard POSIX set. Either way this has no business being private in NFS. We need to come to an agreement to have a proper interface for CIFS, fat, exfat and the 2 ntfs drivers as welŀ. With the first three being the most important ones. So big fat nack for stashing something like this into nfs without proper review and coordination.