Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2194905pxa; Mon, 3 Aug 2020 09:43:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUAK1XCDctBFjam3x1fBkka7Jmo9ePmBsBdGMtnP6k6Ja2jm8IZXnQ9qXgLj7PmbLN4WvS X-Received: by 2002:a17:907:36b:: with SMTP id rs11mr18175347ejb.544.1596473007258; Mon, 03 Aug 2020 09:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596473007; cv=none; d=google.com; s=arc-20160816; b=PbkmwZdyVEbNls9cmTXUORAqwFE1JOdF2VdAMnIFSgV+Svxsgyg1wuawhAVSQAQQOA lSC8swIB5mXA8+ZASiiQ9lLr0e4yMAEwXkUbvvVU6wWb6yMUekpNrRAJ0NXnqfVUf7V7 sKKxwbvP0W8CpOJoJpbXBHytkaVYwfTizAw0gaSzgroj1KnGXv/OBoWqVbtlCJi5gbCI owIWdbR0WBsa1wP4kJhQMdScxf6cf6J9DZp22dM/Nj8i1rkT+KTndl9EOM0eOVa0m7GE IJsaKkY4Xo1L4jf81WE2Ci5xb+HUDRXQmVEHIqW+Nai6zePivJPgGBPH3UTAzdpQt/Kc q/KQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0pKh21HmMgiXpI5XylfnfnlKkDhj9u5DS7LTshm78/Q=; b=H52tc0urGfxedozxsTPOmjK7CIfw+W7farLGg2mImXQhI0vBzAfwo4TrIAaYs+vMhn 7obPxIYuGCid1CYK6icfcEN+haXFh76OJFy4X4HRTGoRKHNpoVOuGFl5X3H4TP2yGr+A SdsTp0u1qnv+l4/geaIzBQyKk4Pz6A9bX8oMXMHTLrFNrDmRNDuUaTgAjvXMlUDJ4Pfl yE4gtiEID8N3NHErhUzAEGONpO7nVmrRxSV34HkXZU+N504hd4OUSByDs61mG3D5q1sS fqnLJbKM61Ez6pD6b7xlP8sHROYR+Vhqg9+avmZHEFLuVICR/wC6/xPRbn9WiX1MNMDA hCog== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=hXoXZ6TB; 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 j13si10480712ejv.205.2020.08.03.09.43.04; Mon, 03 Aug 2020 09:43:27 -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=hXoXZ6TB; 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 S1727030AbgHCQmz (ORCPT + 99 others); Mon, 3 Aug 2020 12:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbgHCQmy (ORCPT ); Mon, 3 Aug 2020 12:42:54 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B468EC061757 for ; Mon, 3 Aug 2020 09:42:53 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id c15so18039436edj.3 for ; Mon, 03 Aug 2020 09:42:53 -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:content-transfer-encoding; bh=0pKh21HmMgiXpI5XylfnfnlKkDhj9u5DS7LTshm78/Q=; b=hXoXZ6TBCbBScXYbb5A1s7OlEyuW5Wtgf1zZ0XwdDpBSIHsqy8yvn5+w2rGc69nZIT l14JxxWwHcaySE3rw7efhnidZfyYOHa92F+dTJ+xiUKYry90lsnY3Oy+qndo0W7azWJp HxqF9785aLkrsVVsbqgHaqnHqSXxXIEZw0afc= 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:content-transfer-encoding; bh=0pKh21HmMgiXpI5XylfnfnlKkDhj9u5DS7LTshm78/Q=; b=AUKm3RmO8WNmCaLCpLc1WNB/GYbLB1YaWB4hXLEuj9TdgSK9vVi4RG73jy7F23zE1k eGTxiT0Nt6o+ryGY0vywT5muljtKRMlfD+25h7GG3iJ6WZxzLVtMfftlaPd2+5Yn+K6L 0IWEVRWnPdwWVcBbv/nZo7OkBG3I/rJjWMj2TnzU44zlBrod5nVrzo+x+E4Bcpfre+Eq 4/LoavVMtBdw0O4g77eR3wUBihhxTGK9VPcbw4yPGHpHVUnZdVZuOWtRX+jUfLsLltNh wRsKDtK9/O34XSGf+VEGVtbTKUx/LxVr7idzte8t5OiXGYrhrmhcA1llE2GQc0tlsyJm /q6Q== X-Gm-Message-State: AOAM533V7iM5sXw8lr6OnFfCELHKsZTZ4BDXXwmfBerp7QNdjguRcMm1 0Laryl0LoVu4ijif3qwBtzYVlOc0NXnU/husFm+jgw== X-Received: by 2002:aa7:c915:: with SMTP id b21mr17121686edt.17.1596472972292; Mon, 03 Aug 2020 09:42:52 -0700 (PDT) MIME-Version: 1.0 References: <1842689.1596468469@warthog.procyon.org.uk> <1845353.1596469795@warthog.procyon.org.uk> In-Reply-To: <1845353.1596469795@warthog.procyon.org.uk> From: Miklos Szeredi Date: Mon, 3 Aug 2020 18:42:41 +0200 Message-ID: Subject: Re: [GIT PULL] Filesystem Information To: David Howells Cc: Linus Torvalds , Al Viro , Ian Kent , Karel Zak , Jeff Layton , Miklos Szeredi , Nicolas Dichtel , Christian Brauner , Lennart Poettering , Linux API , linux-fsdevel@vger.kernel.org, LSM , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 5:50 PM David Howells wrote: > > > Hi Linus, > > Here's a set of patches that adds a system call, fsinfo(), that allows > information about the VFS, mount topology, superblock and files to be > retrieved. > > The patchset is based on top of the mount notifications patchset so that > the mount notification mechanism can be hooked to provide event counters > that can be retrieved with fsinfo(), thereby making it a lot faster to wo= rk > out which mounts have changed. > > Note that there was a last minute change requested by Mikl=C3=B3s: the ev= ent > counter bits got moved from the mount notification patchset to this one. > The counters got made atomic_long_t inside the kernel and __u64 in the > UAPI. The aggregate changes can be assessed by comparing pre-change tag, > fsinfo-core-20200724 to the requested pull tag. > > Karel Zak has created preliminary patches that add support to libmount[*] > and Ian Kent has started working on making systemd use these and mount > notifications[**]. So why are you asking to pull at this stage? Has anyone done a review of the patchset? I think it's obvious that this API needs more work. The integration work done by Ian is a good direction, but it's not quite the full validation and review that a complex new API needs. At least that's my opinion. Thanks, Miklos