Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1974334pxa; Mon, 3 Aug 2020 04:18:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAPbQ1uCuJLKRw67/BW5PbwqzEebHrWidJnAy5+KPU6+CF7aeDOt/TMIqOcfCK8alKea2J X-Received: by 2002:aa7:d90f:: with SMTP id a15mr14773981edr.86.1596453500108; Mon, 03 Aug 2020 04:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596453500; cv=none; d=google.com; s=arc-20160816; b=mAFEtIFErqyKQoiU0d48KDUmedWvYKkEiaNYrJYGiiyfUpIEmB8uWW+O8fHCtO42ef W6OPZ/DvdzpwXvZj2AKOhRk1+gES7kUEeB0miDkKxlRd+oBs+MZsiJ61euH7CvAmJXI8 M3oB/Ni2K9r/0/P84BXyrimeBfp+C3lT56fnVOuv6qD4DufD++EavE4njbhaBiWb64cM rDiDULpwvF/EKeaLnFfvUELUBzl3LTBdob/L2H5VI2OYO3qS8eEd9sbx6cSZ0kcqCd9q gCcu5zqSwfvndmb9E272r89DKnxRienpPsx9jVY2Gp2EgGRCan5z2TgFs4jKXfid0jX1 4xeQ== 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=phUao9tXf/t4b/68S+2rq16ySbBLGNbfI2sRyl9fmdU=; b=KYDj3iY3DiGie+/c79P0ejPQ56ww0WuOiYmInkHI4XYXtWQ3k13wf4gSTll2In8iWu VjV5nyBTC74akjc3DSvM6b5BEBuqdwbBHj/bjY8tjdwBVl6bXwpHOFnIqbtTJz4DQ9vu T0sNLzNEHPzglKu0S2VGZy3BASCNnbbXHxgP9wujAAvA5+VFpLW08YDRVTIUGFv5tc7F Uops3ziLUD+0ZRgH7tkvCtDnOykahHaaTOfiDL5YnSdl01iCyr6KrwX6jw05LnBeiE5L cYbV2RXNqbLt2TABJGPvqCIkx+Q6fi0rF34lnMr91rG97Uj0MiEzyF8xSewAiWTOZ1uG r37A== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=eoVrCN0P; 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 l9si7712084ejq.65.2020.08.03.04.17.57; Mon, 03 Aug 2020 04:18:20 -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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=eoVrCN0P; 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 S1726189AbgHCLRW (ORCPT + 99 others); Mon, 3 Aug 2020 07:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgHCLRT (ORCPT ); Mon, 3 Aug 2020 07:17:19 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B11C061756 for ; Mon, 3 Aug 2020 04:17:19 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id l23so13215620edv.11 for ; Mon, 03 Aug 2020 04:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=phUao9tXf/t4b/68S+2rq16ySbBLGNbfI2sRyl9fmdU=; b=eoVrCN0PZZ1JS+F3fakDr2Ij8wISyKSGPN0lWQaGRrdbv1WtI1HXeY2zQorKnB7Bi0 VRrysLvCQG2nw4yx00kjhBBvbRQCdLC+pMBHaFd4x+oUq5/iuV61KNUXUtmKl/01yaYQ K72k3pKjdfjjKvewHfPgkAHJIvr563YyPdSN8= 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=phUao9tXf/t4b/68S+2rq16ySbBLGNbfI2sRyl9fmdU=; b=gC9h4Dn40DHYR/zMyteQ7m6vpBieqbD37/P7VI8oK2YIEnD+MqjXM1uv7Pox/WZNhl emcaNH32jPQWWVqK1WKX48NauJCIoBFcwk8xTOxatYana9+Kb8kXMKu3QqQTK6nmnH7G JKeue2JP0Y8c7ZZMa3Nia2ClULGKK/8z4D/ZZeuNyWpT4R/bKKSgi+PHKIvB3BpaTjNl Tl02TM3AddjH2Uo0rfL+jyM6zXEefRf9tP3E/c7Mg9V1FyorEaLQ8Tp4Mu1FSuoOSiuD cU0kq4n3+c/k9QqB47nc23fwRpNcWX2x/VDLwj2qr2cFb4Zi7Jz4srKKI4r4WP/Zgkcj Rmug== X-Gm-Message-State: AOAM533j+Guaujvb4h76FEjQgWEBLEKfsXG2ZJ4va4Zl8PfRG4ys446E CuYA2N24Aj6OK31ul2qupanIycrQorLlkeFE+6AzbA== X-Received: by 2002:a05:6402:13d4:: with SMTP id a20mr303427edx.161.1596453438170; Mon, 03 Aug 2020 04:17:18 -0700 (PDT) MIME-Version: 1.0 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> <1283475.1596449889@warthog.procyon.org.uk> In-Reply-To: <1283475.1596449889@warthog.procyon.org.uk> From: Miklos Szeredi Date: Mon, 3 Aug 2020 13:17:06 +0200 Message-ID: Subject: Re: [PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5] To: David Howells Cc: 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 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 Mon, Aug 3, 2020 at 12:18 PM David Howells wrote: > > 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? > > Hmmm... If I'm going to do that, I have to put the fsinfo-core branch first > otherwise you can't actually retrieve the unique ID - and thus won't be able > to make sense of the notification record. Such a rearrangement might make > sense anyway since Ian and Karel have been primarily concentrating on fsinfo > and only more recently started adding notification support. OTOH mount notification is way smaller and IMO a more mature interface. So just picking the unique ID patch into this set might make sense. Thanks, Miklos