Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp549092pxa; Tue, 11 Aug 2020 09:11:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGBEbXQjiJrKgZyuXZ90Rn8itsP08zqOZxwm+qUR5w11KkgAKE7NY4X/2bAN2mN3Im6w7Q X-Received: by 2002:a17:906:a88b:: with SMTP id ha11mr26620467ejb.545.1597162282914; Tue, 11 Aug 2020 09:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597162282; cv=none; d=google.com; s=arc-20160816; b=yBJB3twSqaHLG7nw76BdlZiVr1/S+30uBaPtgENSG+3tMUVhi5Qp95umCNQ7L5cihL 2/fXfmImXXGR+uL8IXEw+MW4DCe4KCjPZ74SUurC/wMc4WnmZFcbwBbJ6Xb6yZQWMH4j eN16s2YUdgL6a0Ym/F6IZ+UzRzg11xraN7Idzxpmp3yDjE0QUBq2mOjwXON621KJ5fbF Z6FsgXSuZh8dSSxLWsaSfMRpHC+wrbV1L8pUj196jOovbziRkhBqOJWen+QI+hi54Kv3 sC1Ucyb8WNIv1raWD4MLvm83V8Z44SfKug/hh2OZcGtPik10yipeb4OdExWVA2d311LM Yq9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ARDqa0ttwGGpwIjIpukccBn4z80sUg1Y95J7pw/cBrc=; b=kHGxImTcaLrzb8nFRtiDIw7VOwLuL5ZT63RlC5d5uoPjiock1QjOOOjF/t840bw4vy 16LCnlMd+OwaDc0QvYA9DYKQirCL6fn5IC1EZeHoN9g4cdiFb7n+fT4GB+oj3Jyp/mn8 NYkTHosLXLpq04IGV5vZfSEXgOoIfa8u6Hm3M+9Wnst4a34xXf1yXPhRMhdk5LBiP8Qa EaqJbrqdqPLwCaqAX4Dd4Q/8P5zGd06fhIXGDuE+fydkWkT13ZlDIyXomrXDwzAvlcJT ozw54jXpkZTFFJrP7yQ/NmCNXSnVuOQRSxrE2QgyyuFlCZX93pyIg7a7K57dz/jhJbGd xYpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ARjGfgTT; 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 c12si14512281edn.358.2020.08.11.09.11.00; Tue, 11 Aug 2020 09:11:22 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ARjGfgTT; 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 S1729138AbgHKQJ5 (ORCPT + 99 others); Tue, 11 Aug 2020 12:09:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729082AbgHKQJ4 (ORCPT ); Tue, 11 Aug 2020 12:09:56 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41C47C06174A for ; Tue, 11 Aug 2020 09:09:56 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id v12so14125208ljc.10 for ; Tue, 11 Aug 2020 09:09:56 -0700 (PDT) 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=ARDqa0ttwGGpwIjIpukccBn4z80sUg1Y95J7pw/cBrc=; b=ARjGfgTTe8Hs0S97+HBco6KPkmP42m5OKE0ERo6Sf2t684ErIUsYZb+F9N6GI8m7VH sHrR/7XxUU0WvzcWkmBHB9j/WQDrOrGh9T97uhNn/7Dj2ZTIxVy3Iz23WUYyWjs31hnR EPcWsf2mQ8nUFDg+i2/4NJ7eEH6TQJE7uk7EY= 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=ARDqa0ttwGGpwIjIpukccBn4z80sUg1Y95J7pw/cBrc=; b=LlUVH+MtPrjRJQ6zyytch/V9J5pEt9mlU1ldPO7DfjCEMZIcwbuAO/JHxS+MSVUGdq woHP1eZzp3+qRiHciW8U5Vmnutw+F8Hr/Uexi4zFrryZMfzmBN4O4vgXDqcOwpd1uiNj A9LHKWymHaEHPb7liNkPQiLJYGK0ljBEc6QfUosFumBL+/wTGAKoIERYTeq1Qex8ziX/ Ohs7ZqlWiNLVggYxZOw8CZDXEe0RypDVsHoBaQnhXJz1sl63ZR5KF+fbbzTVdwftNcAG 100diSthExila/+yB2pNb0RiF244kBAvt+mh1e8q3fbv7ekHVu1qkqUFhBmTdIZgOvfw y1Ew== X-Gm-Message-State: AOAM530EavdIMTL2Kh41Wa7sOxu5vrpOntqWFE+GF+HzwWiu8QtVNwKO wgt+GwJ/l6N/gbF6s3kvgGrFhYROzuI= X-Received: by 2002:a2e:8717:: with SMTP id m23mr3488352lji.245.1597162194287; Tue, 11 Aug 2020 09:09:54 -0700 (PDT) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com. [209.85.208.171]) by smtp.gmail.com with ESMTPSA id h5sm11698239lfm.70.2020.08.11.09.09.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Aug 2020 09:09:53 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id z14so14175121ljm.1 for ; Tue, 11 Aug 2020 09:09:53 -0700 (PDT) X-Received: by 2002:a2e:7615:: with SMTP id r21mr3191279ljc.371.1597162192777; Tue, 11 Aug 2020 09:09:52 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <20200811160534.GL1236603@ZenIV.linux.org.uk> From: Linus Torvalds Date: Tue, 11 Aug 2020 09:09:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: file metadata via fs API (was: [GIT PULL] Filesystem Information) To: Al Viro 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 Content-Type: text/plain; charset="UTF-8" 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 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. And it might not be reasonably implementable. I just think that as _interface_ it's unambiguous and fairly clean, and if Miklos can implement something like that, I think it would be maintainable. No? Linus