Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp608527ybb; Fri, 3 Apr 2020 08:37:44 -0700 (PDT) X-Google-Smtp-Source: APiQypLa5jXfMAbsoIzB8c979u99xnb8RVVtKscc/7RRQR+fEF1WfE9BBUTfZoFN/UJZd8JkHJRQ X-Received: by 2002:aca:b382:: with SMTP id c124mr3309880oif.64.1585928264418; Fri, 03 Apr 2020 08:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585928264; cv=none; d=google.com; s=arc-20160816; b=T11HfmIgjsAPwph4YcfuG2lBNhHFrdoSDchXG81Ppqo5Xo3rZNnhRXtFPhBfzj+YFp sf4jYehMhOvuEFaM5+Ab7nHRUjo9ctD6PHKXOFXzJ4vj1QJdL/q+BDsnRUD7YbNssLeu S9n0j3+IB8I46hU8NaIE2Kfu9xIY4t2SlrFX7mkHZPcuOj4kYE7JHVsoDJiOjwlezz2D Q3Jm0zvc0BMs0hrVsFDRfdYQrkRZRveNFLhFHLTKdnU/duGhCa6UQPMU2VYeEw0w8VDz OG0X404r+1zKQ67uzKVcvf6f/LNLQKtBsy95T05/Pvb5mDPhG3943I6kyPwGcJHd415X tJKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=eRgcpWjGjWOGUASD5rRrzWGDQ6lWUmhgv3fzZ/n5jQ4=; b=K9ycLp3VAQRamNE1nuzGvie18gIsZ7KMv28QDJxODW0XWv3XjY4Lm2srRyZsZLtDx9 SSvIBtCutJswLmd1IeXDskqQ9+R4f2oTREyPMQq3sZ0QTlo2SrF2L5E0lBXKBXRiYMHH U5yHsCOazWDwICX6csUmvJq0EXyGmWpVFin8VcGzWkLttnl6iTdJSOF2iUmVIuCEJqBe k+3USusn1BJ5Tsx1ERSFGYRiLo0AUbC2PvTpAskZ3v5OM6Doisgyc1g0jkWPFkpKQweX FzAziINBT6YXP9glNkxHlz6U7o/r7LqDNHdTkiD5Wb/j7iLnA2tFNWHF5ZCM1xdCpUfv gqwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h3BseL2p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si4029232ooi.41.2020.04.03.08.37.31; Fri, 03 Apr 2020 08:37:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h3BseL2p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404279AbgDCPgl (ORCPT + 99 others); Fri, 3 Apr 2020 11:36:41 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:57169 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2403936AbgDCPgl (ORCPT ); Fri, 3 Apr 2020 11:36:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585928200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eRgcpWjGjWOGUASD5rRrzWGDQ6lWUmhgv3fzZ/n5jQ4=; b=h3BseL2p/OkRS6ggX0Cdb4wrTK1VwqzDuQ4BbdlKxuZf5QRPAH7V/y7kJhJxB8y+dkLjrM eTsBALytyRcW78GvIbdI7XiSvrG+7i7UlXMX+TGqJOuF+uNG53ul1k99/B3a17MGM9IuFH 0IP7XUh6rEVVNFEjTVPIBh48NNcezQQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-317-BO5Tb7MhMwySkbv35vDEVA-1; Fri, 03 Apr 2020 11:36:38 -0400 X-MC-Unique: BO5Tb7MhMwySkbv35vDEVA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 90E3D477; Fri, 3 Apr 2020 15:36:36 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-114-243.ams2.redhat.com [10.36.114.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id 94D815C1BE; Fri, 3 Apr 2020 15:36:32 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20200403151223.GB34800@gardel-login> References: <20200403151223.GB34800@gardel-login> <2418286.1585691572@warthog.procyon.org.uk> <20200401144109.GA29945@gardel-login> <2590640.1585757211@warthog.procyon.org.uk> <36e45eae8ad78f7b8889d9d03b8846e78d735d28.camel@themaw.net> <27994c53034c8f769ea063a54169317c3ee62c04.camel@themaw.net> <20200403111144.GB34663@gardel-login> To: Lennart Poettering Cc: dhowells@redhat.com, Miklos Szeredi , Ian Kent , Christian Brauner , Linus Torvalds , Al Viro , dray@redhat.com, Karel Zak , Miklos Szeredi , Steven Whitehouse , Jeff Layton , andres@anarazel.de, keyrings@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Aleksa Sarai Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3248808.1585928191.1@warthog.procyon.org.uk> Date: Fri, 03 Apr 2020 16:36:31 +0100 Message-ID: <3248809.1585928191@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lennart Poettering wrote: > BTW, while we are at it: one more thing I'd love to see exposed by > statx() is a simple flag whether the inode is a mount point. Note that an inode or a dentry might be a mount point in one namespace, but not in another. Do you actually mean an inode - or do you actually mean the (mount,dentry) pair that you're looking at? (Ie. should it be namespace specific?) David