Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp571103pxa; Tue, 11 Aug 2020 09:40:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOceB2Fus2pNf06OdHo8w54J8lKktU6UfijBCeQaolUbohT9Xc9fa6l084lXjt8G6Cbj2j X-Received: by 2002:a17:906:b59:: with SMTP id v25mr26946396ejg.436.1597164005766; Tue, 11 Aug 2020 09:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597164005; cv=none; d=google.com; s=arc-20160816; b=oZrjjK8mp0YIAecKAq1PfNumQRDEg15mbpTfWaV0h8A5OfJD+v2r0f5s1N+mZ/4AQX 3xFFjCOeeDfsChtZ7uU4fU+U47te/Rruw5x0PgWXP6KvY7tMOLB3zgZXSnJUQvtBR9Gq 6zIKGtWvf9VA9bv/uH16gVrwsKJbVjEFXsfOh10zVNHB8/uTipQFE+wPlpNo7BjKopaz tezXu3Vz5c+1N7LG4WoWx+steLzJYhZCYKcgfrA8xTVaAnH1OOWQxUb5ZADQD45sFT63 DybhlIqqHiL0O/7K6T0/agiJ7N+Km0wOdpBhGsmWot4As85NDAoxNvyNzI0VsOCPiBhA ToYw== 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=N64e++SLDNuq57VEYjQISDKL//CwTXw/4SBAZiHl4XM=; b=0tym4YIj1MPsuGWwsagpAWMyWhyRtkv2fn5V9gzTlIvJEwbwY7R2zWqF29QpQ9zmod VctJMEaHClApib4xalz7TZQ54iQc4gIxhM0hiiooBkuPikOpHiQ57UujJmD75I/43nXK hWRNJRLdPUD1kV9tanxU1wZvr8QLfQ2CpCVVGXCW6Fr9H2axK9GMjvZ4iQTxPVSYx5WA gHHINzQlhsFoQNz5WPXb4QiVJQrsHW211OrJiQ5mJ9w+LVqcHJFcrqq30eG0gCNTV0LR tGFxMMr80uPpyOYvk08YbjGDv7TQ6fxa91b+Q3ik1TlpdEJnubdrZsQhRB2Q1LiLjKsr AGiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 u7si13414503ejn.161.2020.08.11.09.39.42; Tue, 11 Aug 2020 09:40:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729126AbgHKQjM (ORCPT + 99 others); Tue, 11 Aug 2020 12:39:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729011AbgHKQjM (ORCPT ); Tue, 11 Aug 2020 12:39:12 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53129C06174A; Tue, 11 Aug 2020 09:39:12 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5XIn-00DfBA-Cv; Tue, 11 Aug 2020 16:39:05 +0000 Date: Tue, 11 Aug 2020 17:39:05 +0100 From: Al Viro To: Linus Torvalds Cc: Miklos Szeredi , linux-fsdevel , David Howells , Karel Zak , Jeff Layton , Miklos Szeredi , Nicolas Dichtel , Christian Brauner , Lennart Poettering , Linux API , Ian Kent , LSM , Linux Kernel Mailing List Subject: Re: file metadata via fs API (was: [GIT PULL] Filesystem Information) Message-ID: <20200811163905.GM1236603@ZenIV.linux.org.uk> References: <1842689.1596468469@warthog.procyon.org.uk> <1845353.1596469795@warthog.procyon.org.uk> <20200811135419.GA1263716@miu.piliscsaba.redhat.com> <20200811160534.GL1236603@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 11, 2020 at 09:09:36AM -0700, Linus Torvalds wrote: > On Tue, Aug 11, 2020 at 9:05 AM Al Viro wrote: > > > > Except that you suddenly see non-directory dentries get children. > > And a lot of dcache-related logics needs to be changed if that > > becomes possible. > > Yeah, I think you'd basically need to associate a (dynamic) > mount-point to that path when you start doing O_ALT. Or something. Whee... That's going to be non-workable for xattrs - fgetxattr() needs to work after unlink(). And you'd obviously need to prevent crossing into that sucker on normal lookups, which would add quite a few interesting twists around the automount points. I'm not saying it's not doable, but it won't be anywhere near straightforward. And API semantics questions are still there...