Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp846455ybf; Fri, 28 Feb 2020 08:44:23 -0800 (PST) X-Google-Smtp-Source: APXvYqxACykh+OtSsJAhkcAlqQKGF4AYDVO9BCXJc0YR2QB/pYz3uO5lGn7D3e0ChXKbVF5nOfat X-Received: by 2002:aca:474e:: with SMTP id u75mr1760930oia.52.1582908263181; Fri, 28 Feb 2020 08:44:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582908263; cv=none; d=google.com; s=arc-20160816; b=TpOuIa6xycltsWcUfrBbqNk6oJtE0oUlKFToPcdph0eu1mlSZbtnzWezZ9426of5xG KOOXEbJWQVikA76xxTn3IeqwWQw6QOfJRHvlzduOZBt7Zh+wrOQkp8jKMPJ6638Nhk03 9PbwQhyDwCfze4b3y54NAHOvOP23fr9YDq+6LHWrSJP0ejkZ0biCSaX/0Re+GQipPIxa a9ZU0jBq5c51oziY4VWucO2zkmgH0PUR/0PSQfAZivP3Uxe5TxUC4KrST5WOfBsednTA iOSh/qKcaJ3i5LNumE8+VhliNxhxO3Gv7kXrMjF6YztMjqr1WFzE2VRnf702NJ0nZPIg oskQ== 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=SDgKBpn0a2kyKpdeNQbhT4JKfw2dNRrDMjGLH2Nskjk=; b=zFqolD4GuHMjnMX5iUJFQIaqOp85HfEGpPsJzlnJT4FT+KgPQLaeM5C5Ag1/q2OIXZ o3W6Q3vHx/hsPAK6xssV7gFsQiq+1d0jtbaBtXybuaVDeb4WaJLCduzPJIm3QFwpHSx+ xkgX5mSAKqOWttAgqRiTpTF7o9oejPMpJa+Avvfhxl3YK4AUFdxbpLDIRjtIHFk0T8Ur B6ypzt1EPrR9cXIEJxYdTRTTGX2Si9xQ+QEgWSwPQeqWc/3HtBj1YgB3Jfue4SU7YIGd 7iLi6CU//wGaQzsuDB34H/3kncwGOTDBciOzfkGmgJ6JrfdftWlkLuoIpxma0P2EB01F Ob5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=he9+4O9G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v126si2301838oia.106.2020.02.28.08.44.10; Fri, 28 Feb 2020 08:44:23 -0800 (PST) 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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=he9+4O9G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726872AbgB1Qmj (ORCPT + 99 others); Fri, 28 Feb 2020 11:42:39 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:32494 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725886AbgB1Qmi (ORCPT ); Fri, 28 Feb 2020 11:42:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582908157; 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=SDgKBpn0a2kyKpdeNQbhT4JKfw2dNRrDMjGLH2Nskjk=; b=he9+4O9GrrPHqIm7VjErNjAP+tuFFENxc8/CBbYa2/Nc6YebvsT3gUpp2xcfmUh14l6IgB AYRRfUQGcq0FsWDoGuWATruT8iS812TySSFKDWJskJuBW+ThBka9z/BVwo336f1pJGCPpB bAmb4+T8lHhgaMSEut/ptFTTkGcwPow= 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-348-FMOomAvRO-WI5jDj2BH7ZQ-1; Fri, 28 Feb 2020 11:42:35 -0500 X-MC-Unique: FMOomAvRO-WI5jDj2BH7ZQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC74418FF687; Fri, 28 Feb 2020 16:42:32 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-182.rdu2.redhat.com [10.10.120.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8278526368; Fri, 28 Feb 2020 16:42:29 +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: <1582644535.3361.8.camel@HansenPartnership.com> <1c8db4e2b707f958316941d8edd2073ee7e7b22c.camel@themaw.net> <3e656465c427487e4ea14151b77d391d52cd6bad.camel@themaw.net> <20200227151421.3u74ijhqt6ekbiss@ws.net.home> <20200228122712.GA3013026@kroah.com> To: Miklos Szeredi Cc: dhowells@redhat.com, Greg Kroah-Hartman , Ian Kent , Karel Zak , Miklos Szeredi , James Bottomley , Steven Whitehouse , viro , Christian Brauner , Jann Horn , "Darrick J. Wong" , Linux API , linux-fsdevel , lkml , Lennart Poettering , =?UTF-8?Q?Zbigniew_J=C4=99drzejewski=2DSzmek?= , util-linux@vger.kernel.org Subject: Re: [PATCH 00/17] VFS: Filesystem information and notifications [ver #17] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <108164.1582908148.1@warthog.procyon.org.uk> Date: Fri, 28 Feb 2020 16:42:28 +0000 Message-ID: <108165.1582908148@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miklos Szeredi wrote: > children/$CHILD_ID -> ../../$CHILD_ID This would really suck. This bit would particularly affect rescanning time. You also really want to read the entire child set atomically and, ideally, include notification counters. > supers/$SUPER_ID/ > type: fstype > source: mount source (devname) > options: csv of mount options There's a lot more to fsinfo() than just this lot - and there's the possibility that some of the values may change depending on exactly which file you're looking at. David