Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3919631ybb; Tue, 31 Mar 2020 14:55:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtb0T/sME+y6OwFHI73k6I63fuHoWOzaHYnZDNW6FTJkIMw+RhmE90Ey/a8b2cWvumtfwbG X-Received: by 2002:a9d:4b98:: with SMTP id k24mr4650136otf.26.1585691702806; Tue, 31 Mar 2020 14:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585691702; cv=none; d=google.com; s=arc-20160816; b=nLCdBpWBzeh1qAGq+UsQTnJF1gmyp2ejXPlnjfB+06QRJDhZGWdwTVg1RD9wVTOqUi cwK3dG6p+3elniC2wlolZucwCko4tB8vEZOhl+wgJfw5mGb5EKef0ir7MO7FOaC1+/jr 1NfAOnyJVAHHEf7iJP95yX6IqmjtodCr3nrv2Z/ChyH/8J8Qh19De5LAZPzAvB8aqGkG iMmLdZfpkMBFI8KwW7rAz+uokCO1tmcsGqqyJf0y0O9BQX40CnBh1Z0vHqfg5MZGUT7Q Qh3k8X6JSdRQWnYfXg81wfhTSUA2gm52RyG0JszozyIjDxE0ImjAqbOOOzvRpH/lAsc3 q7/A== 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=i4Y5CiKm/LKKyC2EdDN4EKODm6x124ZxcM4b75twPGg=; b=EexEtVFuivdNl/6TpEYdkG50Ly2DG9EmCMqIkdNJ1HMFHxpu5dMhMMUwYiBDDdJ23X 41nlN8BIpclr/WXzy+cQCu70VawBrxBMteZnQzOrQwq6nnz0rOUxjGce8ehrWIWOH99a P9e4in3+yeacHkyxdp0hg+SFWs2nJFDfOqRlkLtDCb+F4t1V/mpH9u+tIMsNiUj7qKKw +Po239fLE11JQ3EGfE2krt9lyi8myDXoPaIgE2CQmgoZFncAeJ29xE/jSuIi8aBekOIr GdeF1u0NI2R0biruKXLEhCfMvYqGyvQC8ClaRrKlPL3ckjs7J2DX1ivn3OlIym5/uAZ1 mN6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dMHMTCYS; 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 h27si8627149oos.21.2020.03.31.14.54.49; Tue, 31 Mar 2020 14:55:02 -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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dMHMTCYS; 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 S1731379AbgCaVyd (ORCPT + 99 others); Tue, 31 Mar 2020 17:54:33 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:43369 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731250AbgCaVyd (ORCPT ); Tue, 31 Mar 2020 17:54:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585691672; 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=i4Y5CiKm/LKKyC2EdDN4EKODm6x124ZxcM4b75twPGg=; b=dMHMTCYSw8deagLGzXNSqkAApSS7Jnlf7vvDub0N6HjQ30Um9HHAfmZwaPybmSwfEZmEBP FWCdCargRU3e+wPJyiGxwvFWIE3DPielaS6gZIIVgih5TKYiChISaUosmdQ/0MpsgOJFDf IdENrZbqLjCjrEBL6OFndQf9seRCmWk= 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-483-vUNL5qBdMzO7pWaCUUVbEQ-1; Tue, 31 Mar 2020 17:54:29 -0400 X-MC-Unique: vUNL5qBdMzO7pWaCUUVbEQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 079FE800D5B; Tue, 31 Mar 2020 21:54:27 +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 0DDD796B95; Tue, 31 Mar 2020 21:54: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: <20200331083430.kserp35qabnxvths@ws.net.home> References: <20200331083430.kserp35qabnxvths@ws.net.home> <1445647.1585576702@warthog.procyon.org.uk> <20200330211700.g7evnuvvjenq3fzm@wittgenstein> To: Karel Zak Cc: dhowells@redhat.com, Miklos Szeredi , 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: <2418415.1585691663.1@warthog.procyon.org.uk> Date: Tue, 31 Mar 2020 22:54:23 +0100 Message-ID: <2418416.1585691663@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Karel Zak wrote: > - improve fsinfo() to provide set (list) of the attributes by one call That would be my preferred way. I wouldn't want to let the user pin copies of state, and I wouldn't want to make open(O_PATH) do it automatically. David