Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp144543ybg; Tue, 2 Jun 2020 19:18:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkmGALtzffNqve9SCBicQ/l+TcYeUD9eGusu5oeqwCw1S2b3rEPbhSpuendb1UZJc1ntpV X-Received: by 2002:a05:6402:1d0d:: with SMTP id dg13mr13786426edb.146.1591150686344; Tue, 02 Jun 2020 19:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591150686; cv=none; d=google.com; s=arc-20160816; b=Z01BPKB8IsHZPA7Sgg5KJtfPTB7RwJzGXZiCAQy/nNacdPDLuhtbfnTLvSYBeqEq+Z PEAeTblRDa7lRCCdu+ObfOHob6QNMGLbi9XPuPpGbHlkOtXe/0jHCfnMiSXtGydjoSQ9 40aQGewOZ2tvOJ6G3Zv9P18dTsjmmnRYM4jwAMkcY3JEco0h38ssEhGD4RSD/vngR7YP CUB5ztqCFlnud9w/rp3UfCO5hFPpgqqlp/aaxl4qELE2FXD/kwWwgPubGUu1xqfs2mLP Blwreh5oh86OgeoG2oOddEUXW/XU3UKv4xMejOnWgCweubD5jJeUOSya9GIUlBr+nIlq J0KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=6pUUgnZdVRfgssHG6PiGy/ksy5g4aXP+llHJT50Buho=; b=WxFaGDd5eKa2Q4mKRxWgRVnjOIEBZYU7xV9D1bkl4R4JoCbj0aN8qkCccabwtB5rto /mjQ+yBEauoPe4fCUX/dWQYbGljYhlFW2Zzh338jiCYhURNlO2MLSRiP4D4T+CCxDAzH As5DqI3Dc+sYtEKOstJbZdACm/kIepmy2foD8WQ6kQEY/WSz3Ddq9r3NXeooH7rIda5l YEJ/s355GxZw/0dxtTT8w0BhvCgY+K829WWKb43n7t3Q6S63uBxqQfckBduMX63L+2Fn zwihZhPVO0flutFJWaPdm5WmCeSERxoO0J+szh85Uaej2J/MoEqAqW6pJTHMnzHI6GdK VU4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@themaw.net header.s=fm3 header.b=CL9HkFj4; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gj+4db0w; 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 nl7si373699ejb.199.2020.06.02.19.17.44; Tue, 02 Jun 2020 19:18:06 -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=@themaw.net header.s=fm3 header.b=CL9HkFj4; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gj+4db0w; 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 S1725927AbgFCCPq (ORCPT + 99 others); Tue, 2 Jun 2020 22:15:46 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:46947 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725780AbgFCCPp (ORCPT ); Tue, 2 Jun 2020 22:15:45 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 031EC5802D6; Tue, 2 Jun 2020 22:15:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 02 Jun 2020 22:15:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=themaw.net; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=fm3; bh= 6pUUgnZdVRfgssHG6PiGy/ksy5g4aXP+llHJT50Buho=; b=CL9HkFj4APm/nhtS xi/AVwtjfIwDza3rkh82FsGQ1VLBMVewwTrGnJPusgNFjf0sVpPobl8VNmmiHQXT 7o9fboO1Z7qsMqJdaxSChgJdc/Trqt8kM/1zgRWDCiWzBE1tDUZ3KMErVVPMfexl EJov2FGhME06VLfEtZBecgGnE3QTgUn35RFvs9w+wOR5Jro37nmwthjugeiMzJnb Y9fqHN1BkObepELPB2rdlyX9lS+4gqpPyBFfwFD3kvbKtEqb6v+jZN3KjhqeUgLW 6GHn46/MSWigx12U8cNsMMLuoCdhBXpd/ArE9jVueyyCZLTWm/FrzyjTYhcuhUgS a7h3hQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6pUUgnZdVRfgssHG6PiGy/ksy5g4aXP+llHJT50Bu ho=; b=gj+4db0wdCSTFiluY15U1lPN7KQoRKcTNe9Lx4BBRoZbSaVR7UsSneZ7N I2vgKIwpKWqe8n39Jd86xhp8PttxF9+y5j4Lps8YmUSp+E4S6LtAHvc3U95p63Ug YM6DTdpDTgFL4cBnKJXcQ7PHaoJFdJdpsJcFbHsHoewaf8GV9pvvB3u8fANfFI+s BkdzWGECZqv/mKV/F0UUykdQN71DI+hazhyOykFsZ71ScLM6yA0s0853Lv9VS5uO EEDLFnf2+No7AouUzhgReYfxJufMZ8u6d4/GipyNUshXCPybOMITnSsY9gpqGy68 vjy6Vivf3wCrZ/R7Z+MjlmNS2Iy+Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefkedghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkffuhffvffgjfhgtfggggfesthejredttderjeenucfhrhhomhepkfgrnhcu mfgvnhhtuceorhgrvhgvnhesthhhvghmrgifrdhnvghtqeenucggtffrrghtthgvrhhnpe ekkeejieeiieegvedvvdejjeegfeffleekudekgedvudeggeevgfekvdfhvdelfeenucff ohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeehkedrjedrvdehgedrleehnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgrvhgvnhes thhhvghmrgifrdhnvght X-ME-Proxy: Received: from mickey.themaw.net (58-7-254-95.dyn.iinet.net.au [58.7.254.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 6D1D830618C1; Tue, 2 Jun 2020 22:15:38 -0400 (EDT) Message-ID: <639a79d90f51da0b53a0ba45ec28d5b0dd9fee7b.camel@themaw.net> Subject: Re: [GIT PULL] General notification queue and key notifications From: Ian Kent To: David Howells , torvalds@linux-foundation.org Cc: viro@zeniv.linux.org.uk, dray@redhat.com, kzak@redhat.com, mszeredi@redhat.com, swhiteho@redhat.com, jlayton@redhat.com, andres@anarazel.de, christian.brauner@ubuntu.com, jarkko.sakkinen@linux.intel.com, keyrings@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 03 Jun 2020 10:15:34 +0800 In-Reply-To: <1503686.1591113304@warthog.procyon.org.uk> References: <1503686.1591113304@warthog.procyon.org.uk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-06-02 at 16:55 +0100, David Howells wrote: > > [[ With regard to the mount/sb notifications and fsinfo(), Karel Zak > and > Ian Kent have been working on making libmount use them, > preparatory to > working on systemd: > > https://github.com/karelzak/util-linux/commits/topic/fsinfo > > https://github.com/raven-au/util-linux/commits/topic/fsinfo.public > > Development has stalled briefly due to other commitments, so I'm > not > sure I can ask you to pull those parts of the series for > now. Christian > Brauner would like to use them in lxc, but hasn't started. > ]] Linus, Just so your aware of what has been done and where we are at here's a summary. Karel has done quite a bit of work on libmount (at this stage it's getting hold of the mount information, aka. fsinfo()) and most of what I have done is included in that too which you can see in Karel's repo above). You can see a couple of bug fixes and a little bit of new code present in my repo which hasn't been sent over to Karel yet. This infrastructure is essential before notifications work is started which is where we will see the most improvement. It turns out that while systemd uses libmount it has it's own notifications handling sub-system as it deals with several event types, not just mount information, in the same area. So, unfortunately, changes will need to be made there as well as in libmount, more so than the trivial changes to use fsinfo() via libmount. That's where we are at the moment and I will get back to it once I've dealt with a few things I postponed to work on libmount. If you would like a more detailed account of what we have found I can provide that too. Is there anything else you would like from me or Karel? Ian