From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56154C43331 for ; Wed, 1 Apr 2020 13:58:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2AA2F206CC for ; Wed, 1 Apr 2020 13:58:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dkfTb/Mg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732801AbgDAN6d (ORCPT ); Wed, 1 Apr 2020 09:58:33 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:58887 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732783AbgDAN6c (ORCPT ); Wed, 1 Apr 2020 09:58:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585749512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8B9xUBos0YJ8VlQ4fiT4d5rWb3J28k251TWX4OuYFvE=; b=dkfTb/Mgd9p7IzU88Jtewzn0Q0HcLCVodoqSBGwo363Lc+AqLAWqrcnTrsI5JYZK7wvbyV zmuxzFLRKRmp1HpAMMIZzSGFu1PS6XM3ByUdwiyP9cNWyrbWQMv7aymQpyGCVGfWEw5MJf 7/44OfNnNHN0HjFz63Sj2CKy58J+aRo= 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-267-koarxiR7O2in1kPI6WwqkQ-1; Wed, 01 Apr 2020 09:58:28 -0400 X-MC-Unique: koarxiR7O2in1kPI6WwqkQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8B9C6800D4E; Wed, 1 Apr 2020 13:58:26 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-114-243.ams2.redhat.com [10.36.114.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id 558528AC2D; Wed, 1 Apr 2020 13:58:23 +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: <2488530.1585749351@warthog.procyon.org.uk> References: <2488530.1585749351@warthog.procyon.org.uk> <20200330211700.g7evnuvvjenq3fzm@wittgenstein> <1445647.1585576702@warthog.procyon.org.uk> <2418286.1585691572@warthog.procyon.org.uk> <20200401090445.6t73dt7gz36bv4rh@ws.net.home> Cc: dhowells@redhat.com, Miklos Szeredi , Karel Zak , Christian Brauner , Linus Torvalds , Al Viro , dray@redhat.com, Miklos Szeredi , Steven Whitehouse , Jeff Layton , Ian Kent , andres@anarazel.de, keyrings@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Lennart Poettering , Aleksa Sarai Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2488733.1585749502.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 01 Apr 2020 14:58:22 +0100 Message-ID: <2488734.1585749502@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Howells wrote: > > Attached patch applies against readfile patch. > = > But doesn't actually do what Karel asked for. show_mountinfo() itself d= oes > not give you what Karel asked for. Plus there's more information you ne= ed to > add to it. And arguably, it's worse than just reading /proc/mounts. If you get a notification that something changed (ie. you poll /proc/mounts or mount notifications gives you an overrun) you now have to read *every* /mountfs/*/info file. That is way more expensive. David