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.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 53517C43331 for ; Wed, 1 Apr 2020 14:41:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E27420719 for ; Wed, 1 Apr 2020 14:41:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733048AbgDAOlN (ORCPT ); Wed, 1 Apr 2020 10:41:13 -0400 Received: from gardel.0pointer.net ([85.214.157.71]:49886 "EHLO gardel.0pointer.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726640AbgDAOlM (ORCPT ); Wed, 1 Apr 2020 10:41:12 -0400 Received: from gardel-login.0pointer.net (gardel.0pointer.net [IPv6:2a01:238:43ed:c300:10c3:bcf3:3266:da74]) by gardel.0pointer.net (Postfix) with ESMTP id 25D0AE814E8; Wed, 1 Apr 2020 16:41:10 +0200 (CEST) Received: by gardel-login.0pointer.net (Postfix, from userid 1000) id 9A065160704; Wed, 1 Apr 2020 16:41:09 +0200 (CEST) Date: Wed, 1 Apr 2020 16:41:09 +0200 From: Lennart Poettering To: David Howells Cc: Christian Brauner , torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, dray@redhat.com, kzak@redhat.com, mszeredi@redhat.com, swhiteho@redhat.com, jlayton@redhat.com, raven@themaw.net, andres@anarazel.de, keyrings@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, cyphar@cyphar.com Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() Message-ID: <20200401144109.GA29945@gardel-login> References: <20200330211700.g7evnuvvjenq3fzm@wittgenstein> <1445647.1585576702@warthog.procyon.org.uk> <2418286.1585691572@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2418286.1585691572@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Di, 31.03.20 22:52, David Howells (dhowells@redhat.com) wrote: > Christian Brauner wrote: > > > querying all properties of a mount atomically all-at-once, > > I don't actually offer that, per se. > > Having an atomic all-at-once query for a single mount is actually quite a > burden on the system. There's potentially a lot of state involved, much of > which you don't necessarily need. Hmm, do it like with statx() and specify a mask for the fields userspace wants? Then it would be as lightweight as it possibly could be? Lennart -- Lennart Poettering, Berlin