Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1860387ybb; Thu, 2 Apr 2020 08:38:09 -0700 (PDT) X-Google-Smtp-Source: APiQypJrDY9AHoAtoO1lSj6M1iN3xvktcRAPXbVMDLOMLe0e3iRTDDRm0PaGwTGZvYBBQ9Djez1l X-Received: by 2002:aca:130f:: with SMTP id e15mr2589815oii.160.1585841889194; Thu, 02 Apr 2020 08:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585841889; cv=none; d=google.com; s=arc-20160816; b=TGWJ3zy8b/OEse6pNLqSpSivXQlLVoyp3zJS3LYxToZNIzZXJqFBTO2n89nQ+Fru3J j6APneXDLpBQJbk3XnSL2dK3KkSsyOK7wjqIdWnGeVofJNdib/bkAilgfiYY3o+35mrp xCSM3UTedfynhdI0ZyNab2v+k3KfQ6hD0cbsRk4JAXFdOIXiEag82t1NKD/tDasQX53D Nvz9BLVItiKEXukqQLrvGAXqK1wQ2WEfs5vBH3XlpyozIE10viM66OWm9EELgo8VI7iI ER7A/KcwHLEuX3Gi50uvBVtYk7Q5sHl+ETucjQgPc8el2JS45p7cM4KUKmFxaAp1OoeV aMUg== 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=xvpB8Y9+2s8yhXG+Difzh12SAeQrdOznGEw6/JuNFsM=; b=GQwn5ruO1p/Sd7pOcuCIjghGZorSguJT6Gzx5FSI86QGptz/C8RSQWWgOwx5QaNeQq wD2a14e4DZPKtWV6WqlOZqK/8x5DE9aDEvqq+4dEAZHqTebvcffNUDPuntTcyYJ2hocB o0IgqdX+Y3fNVoAPFhVKO4g7CiIbQOeMD8bJlFfYVDsY/jgG374bPq30rdNnYFCG+vcD AOhhTgefJuSYOmvWNgA+hqEBBA26KJzxLDeGxxm9W5X2dNZegFM/za2fOzrajmk1oPFS p4uorSF69zIe21HIt7/Gi5PoLaKo4NTPmbcwmMhxNsK0rU0tZA2BtY5eEhBRFUfN7h20 BPMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=GwITZ4q6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si2445905otq.296.2020.04.02.08.37.53; Thu, 02 Apr 2020 08:38:09 -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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=GwITZ4q6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389375AbgDBPgI (ORCPT + 99 others); Thu, 2 Apr 2020 11:36:08 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:38424 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389369AbgDBPgI (ORCPT ); Thu, 2 Apr 2020 11:36:08 -0400 Received: by mail-ed1-f66.google.com with SMTP id e5so4744209edq.5 for ; Thu, 02 Apr 2020 08:36:06 -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=xvpB8Y9+2s8yhXG+Difzh12SAeQrdOznGEw6/JuNFsM=; b=GwITZ4q6fgQ4Z9f/rIhWXZ4D433UVA+cFWOjP9ECWJk9WlbE5kYdg98i0AmdJst2kc 2ez8gd97agQdCMtxG/DO5OmiX4lFPAbTvrJIkmTgQQiPUxOK6UIHN3XEcBoK6AhWgU1A tfFrCRgezw+SxIODtjbiHb+KRBHAL/1MjaOVU= 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=xvpB8Y9+2s8yhXG+Difzh12SAeQrdOznGEw6/JuNFsM=; b=hza1oiWtaJZqgLrdLSG2FeSRBQiutWTY+lBtJnINU0+bsmncIwIaJrIY7ZH/UfciAq K7/b8X8fLpHx99KrReTGaS8H9/uGybG52VHvigYTZ3A7nup81nfJqsUU1V3i9w9LyceP uYA1tx/SVulses9HssU31wkdUO/coJTC/LYJ3vbeZSUImOzdYWs84DiaQznO/kIGy3nY hwL3WPC4XKHVDL0liRPWZHfyOjgF90l8b11MQD1OUK6BWjCPnogjPuJmzP7l34cua1Im TBqinGc0Ft75x/a2u5hwEnHiQI9LSjpgMeKfo4Q4rg/4wi63RW6ufTPK1E/i/w/u8pcZ v+5A== X-Gm-Message-State: AGi0PuYyWh4nbX8ODEDUS1kgyzl9+JaglC8gYSiOne2XFYTKcasm3iHd c8FCPYGHI8e1jKWq4/DgN+8RJFsGbBtOCkYkp7Bi3pOJ X-Received: by 2002:a05:6402:44e:: with SMTP id p14mr3563979edw.356.1585841765422; Thu, 02 Apr 2020 08:36:05 -0700 (PDT) MIME-Version: 1.0 References: <1445647.1585576702@warthog.procyon.org.uk> <2418286.1585691572@warthog.procyon.org.uk> <20200401144109.GA29945@gardel-login> <2590640.1585757211@warthog.procyon.org.uk> <36e45eae8ad78f7b8889d9d03b8846e78d735d28.camel@themaw.net> <20200402143623.GB31529@gardel-login> <20200402152831.GA31612@gardel-login> In-Reply-To: <20200402152831.GA31612@gardel-login> From: Miklos Szeredi Date: Thu, 2 Apr 2020 17:35:54 +0200 Message-ID: Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() To: Lennart Poettering Cc: Ian Kent , David Howells , 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 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 Thu, Apr 2, 2020 at 5:28 PM Lennart Poettering wrote: > > On Do, 02.04.20 17:22, Miklos Szeredi (miklos@szeredi.hu) wrote: > > > On Thu, Apr 2, 2020 at 4:36 PM Lennart Poettering wrote: > > > > > You appear to be thinking about the "udisks" project or so? > > > > Probably. > > > > The real question is: is there a sane way to filter mount > > notifications so that systemd receives only those which it is > > interested in, rather than the tens of thousands that for example > > autofs is managing and has nothing to do with systemd? > > systemd cares about all mount points in PID1's mount namespace. > > The fact that mount tables can grow large is why we want something > better than constantly reparsing the whole /proc/self/mountinfo. But > filtering subsets of that is something we don't really care about. I can accept that, but you haven't given a reason why that's so. What does it do with the fact that an automount point was crossed, for example? How does that affect the operation of systemd? Thanks, Miklos