Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp730161ybb; Wed, 1 Apr 2020 08:36:12 -0700 (PDT) X-Google-Smtp-Source: APiQypKOeEcPc+r4t22xM62HqE49NspmTbc5XNnputn0z7dxMalXka6bYyfZr0ytU0VYa3Tweaqs X-Received: by 2002:aca:da8b:: with SMTP id r133mr3312529oig.81.1585755372545; Wed, 01 Apr 2020 08:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585755372; cv=none; d=google.com; s=arc-20160816; b=jG8YMpJR74CqgscZoyvBz69FMqXeSdb8r182LYSYkWDFxrAqOF7WgMo6tP2gNGxkB8 fn6IJu849ENmIIBk/ToehptDHpSNAZTrUpeZLGXjrbLu1JZma4Pu1LHSY7SEUXTmRVU+ nlCcuH0XgNDo9kUiFbQmGlmipxyOtZhmtsatrVpHsMSH8umh+TH3dWl2jYfJAdA3c6N+ NDlI47XMJzivLB+lYRTzGSXjKC60JbkoNUvkjCUJImbVhJkXgqLlVvvnPFLS4JpMLUPu S9zNjMm9z/cuvowCctLyFcrUqdahHeYO2fAkAXrRJt0EbgVaXioY54M4c5HAlkDqUViZ GvIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PknMOjO0aVK6+Mbr46jA4uNoXU0DCDMitbN9TCuKpYU=; b=Z09/SHji5vMG1kA9YYz1kBO945ZiqlrtpS5b8DQXuS70CNYhBiQ/cA8ZbLuAny5vWc q6He2WvJXNw4uNjB2d279R6xu5zk28SFj2nREe7PRPSkdUixdEhZABwcDS19JriGKKvJ vy9x3od+0wa+mKzxtur+2/nkkwBzFmEhKsss41W+4IaRYnN+OR6IwBxDa4Q78f8LRMI4 hu0fY1J+1+Yb5Z++3KDatLLKz27IIuhPHru90w5b4QRBW9OXdARt+RfyUHk7i/T32rNG 5ZTxguwjJQVutyyW7A8xawSWWxd2lZwxqXT7oWFlxuBd4HXi3B0BiJ2Nqcpm0y9Wj3R4 jQug== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=p5QzZMqB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si1039797oix.42.2020.04.01.08.35.59; Wed, 01 Apr 2020 08:36:12 -0700 (PDT) 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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=p5QzZMqB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732929AbgDAPeM (ORCPT + 99 others); Wed, 1 Apr 2020 11:34:12 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:38249 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732774AbgDAPeL (ORCPT ); Wed, 1 Apr 2020 11:34:11 -0400 Received: by mail-ed1-f66.google.com with SMTP id e5so418842edq.5 for ; Wed, 01 Apr 2020 08:34:09 -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; bh=PknMOjO0aVK6+Mbr46jA4uNoXU0DCDMitbN9TCuKpYU=; b=p5QzZMqB/vMQwg0fm6pTCPUxV1A84gb+EbDz8bFwLIYFbNP9FnvyYhjSFYadmD92gb mRFyGUNcatWLbDeKB3pVtLlqOSoBYBt/rdV98tORxMQw0g+6QIHkhXIzbYrVkopEy81C VW95LobYq1gT/TNOY+qN/8qCYjeVcjpE8eBU8= 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; bh=PknMOjO0aVK6+Mbr46jA4uNoXU0DCDMitbN9TCuKpYU=; b=jGA3ntjSoGBPatn5BIvDY98E13whLWZQTpH+k5af2ySqwGAuuBDlz32nH5/gV5i4OQ c8dL8qxBQR+isxef7wt9HL5wAhnM8kCGDHB8mPVoPo3hQGjqwGdU7uv8OgNP6tFyO4RU OR3xdkb7nVQ42Z4bXqHf8nIamUMq27X4WkKKgrrcqS7xyX/59i5FE4O0iNfohI0lu/qX c+eZbenzMwYzFg2pMhXCA96O0RlW19BrfyWOvOM8sWk5AxRcW0qkTzWOf4XVbendiTZx g1YK9drN9Soj61fYmoDjnT+8ALv0Ni52YNyPx8fAesCQsx56Z0iwdFgoPU/fYCJzWl4I s/qg== X-Gm-Message-State: ANhLgQ1jmN5GaAor9MgiGAtGUwwjT8aSVS+I7HQvxyY6afS/YG89YkKb L3s96z1KEvTMWvqaRJZ89LjoGdEQmcoM0HamqslT5Q== X-Received: by 2002:a05:6402:44e:: with SMTP id p14mr21764199edw.356.1585755249047; Wed, 01 Apr 2020 08:34:09 -0700 (PDT) MIME-Version: 1.0 References: <20200330211700.g7evnuvvjenq3fzm@wittgenstein> <1445647.1585576702@warthog.procyon.org.uk> <2418286.1585691572@warthog.procyon.org.uk> <20200401144109.GA29945@gardel-login> In-Reply-To: <20200401144109.GA29945@gardel-login> From: Miklos Szeredi Date: Wed, 1 Apr 2020 17:33:57 +0200 Message-ID: Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() To: Lennart Poettering Cc: David Howells , Christian Brauner , Linus Torvalds , Al Viro , dray@redhat.com, Karel Zak , 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, Aleksa Sarai Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 1, 2020 at 4:41 PM Lennart Poettering wrote: > > 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? Yes, however binary structures mixed with variable length fields are not going to be pretty. Again, if we want something even halfway sane for a syscall interface, go with a string key/value vector. If that's really needed. I've still not heard a convincing argument in favor of a syscall. Thanks, Miklos