Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1936573pxa; Mon, 3 Aug 2020 03:09:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoBFE89YpeNwsce9TClszU4ddAQMU9A48679X7Hgsrf7ot65qd1O4fI3cJjEttRC3SsY66 X-Received: by 2002:a05:6402:68b:: with SMTP id f11mr15524303edy.353.1596449354111; Mon, 03 Aug 2020 03:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596449354; cv=none; d=google.com; s=arc-20160816; b=yyHrgTOPkI/2cjO6JQ24bbcfeEF5AYoqqfgie8RIjVXAxizYpbEKUzzvgc/qRAf6Qh Dgr+nFtGKxkvTrD8GjKt2HCdZPAd4iq05Ze503IZ6b855N5J/cugMy2k2eRSueN4VM87 58ePQ/x+6hig0LyPl31G9X8vFV+EQkrK+gi4bZKWGaArsN6PeOrdj+R5rRq9qLd7XykO AyR6tJCrJFTiOkjR10j5YemCt+AUcN5M6CrdEfXhN6d9QbOu/9/tCjE+3DY/eNvqhmWO lhd4rF7WN88jwRD6PG10RWLKUeo5xiuCniWf9U47ZdoK6hvjLiWZeE6opbmGGFk+o1Vs g+4g== 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=wb/gJmdKHBmw6w0WHlFlXyZB6Hy72W8IZAqpbVBmJts=; b=beOXLr0iKr6TGdEoMj5dsOwzXRyd+B673C9tn4Vm2twByJE79nCqemUFr3S3kuh+cz hAeQdpRFidssuAIX/3XhUhAqrWdXCswb5Ve2Q58VdoCb2B88B5CZMZJKmyCx4zqwlS1e r2RmfgBsTMHY8cjeIjApPpdJZj43utAdgqFAJW4IL+WKhLrEGDfZycoopMt6j8Hm7FsT cstjLzG0hvldB/yhNQVmYmxgOJ79+O/AQdAfSkF2NsjcaPdSbQgvh1aal4wLUqu4CF5+ 3Ffns0t5zGgjWDUg8Ijj8DIv1eRb02mDLwM/H1f+FEZGVDNGiRea1Edx/YRozmLazNbL vMvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e3dLOS9V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o29si10167383edz.62.2020.08.03.03.08.51; Mon, 03 Aug 2020 03:09:14 -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=@redhat.com header.s=mimecast20190719 header.b=e3dLOS9V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726118AbgHCKIc (ORCPT + 99 others); Mon, 3 Aug 2020 06:08:32 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:51752 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725968AbgHCKIc (ORCPT ); Mon, 3 Aug 2020 06:08:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596449310; 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=wb/gJmdKHBmw6w0WHlFlXyZB6Hy72W8IZAqpbVBmJts=; b=e3dLOS9VLP2siLJemojoMxuqpV66RGG8hYumbidgZuRooIf4xgaUTYpAoBRVDnX7OIYpNc w61qrHuUOJYGNva+VbS5Ct2CE0YN31ASlF+20LWyVIa3tTJktmTKCLvUYTRMk054stWleU T5Jglp5RA4Jz9U5g0UBXVqQoN45bddY= 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-165-7YYFm4bNOqa5LSseulTMqA-1; Mon, 03 Aug 2020 06:08:29 -0400 X-MC-Unique: 7YYFm4bNOqa5LSseulTMqA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8F8761005504; Mon, 3 Aug 2020 10:08:26 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-112-32.rdu2.redhat.com [10.10.112.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id BAFD85D9F7; Mon, 3 Aug 2020 10:08:22 +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: References: <1293241.1595501326@warthog.procyon.org.uk> <158454378820.2863966.10496767254293183123.stgit@warthog.procyon.org.uk> <158454391302.2863966.1884682840541676280.stgit@warthog.procyon.org.uk> <2003787.1595585999@warthog.procyon.org.uk> <865566fb800a014868a9a7e36a00a14430efb11e.camel@themaw.net> <2023286.1595590563@warthog.procyon.org.uk> To: Miklos Szeredi Cc: dhowells@redhat.com, Ian Kent , Linus Torvalds , Al Viro , Casey Schaufler , Stephen Smalley , Nicolas Dichtel , Christian Brauner , andres@anarazel.de, Jeff Layton , dray@redhat.com, Karel Zak , keyrings@vger.kernel.org, Linux API , linux-fsdevel@vger.kernel.org, LSM , linux-kernel@vger.kernel.org Subject: Re: [PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1272196.1596449301.1@warthog.procyon.org.uk> Date: Mon, 03 Aug 2020 11:08:21 +0100 Message-ID: <1272197.1596449301@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miklos Szeredi wrote: > > fsinfo() then allows you to retrieve them by path or by mount ID. > > Shouldn't the notification interface provide the unique ID? It could make sense - instead of the reusable mnt_id. David