Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp375170pxa; Wed, 12 Aug 2020 04:31:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgjhRUEMHhknRPiMmWR7rRASj3HSWrFVnuP83lPdwGGjyAqiSxKZ3aEw2NcwPnvP3zjRxV X-Received: by 2002:a17:906:4dc8:: with SMTP id f8mr31392654ejw.257.1597231912308; Wed, 12 Aug 2020 04:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597231912; cv=none; d=google.com; s=arc-20160816; b=klLw6r6c1lOQxTAn//jbyrypj7l8jlKHvToa1bWIRCZMaepk1uaydh52IBzOPGqS4r wv8kJfNQ+ESGWfzlHZBh0fIV4FO/CTWAUreff9s6TxpLmaahC/lADfIDMC/rXt6Jzy+2 XHLAPVC8TOiQfFkMTOs5g04kxwokL9rE1av7kc0aDPvCHFvk0HSp0S6S3CmP5vx7LFAk JDTLlBJwNeOUvw2eQ9RV6zVf6mNDk4suRF+O4C/IwsQ8hdD0X9VqqIaZMo78JYMzCzg2 +CbgE3xWH65zJRiRHbe7G65VDHJhos86H0ou6ci8Q8jJFQ2oo8QiKYUzz0I6BjegHVS7 saIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KjV6K3m7aYpDUqAWmC+w9QBoR6kWl/pmzBrtpDLCLfY=; b=LbGGTiApB7qw1AXvskBfLR6RyTYSVtHBIlNLBc5uyfjRJz/UmiRhvha+ZcHCY84OIn vwZKlSlboeQkrLuOQ9Bwc+GZ4V/wkE2f/XfNZ2zgRilRMpXH9wM0jGG+plfloUTSjsbR fIhgdFkALfF/4ICdU53Usv+Wijwic7CdL9vMJ920mS/YsfpxK1OVHsBUqaw5AbiMENCS laow52JM0GPpLLuXaZ0r0nC5C+NQ4lrF9ZZKFvwVMsyqOJ/WamLuahkfQ0ryIJhzKCLh 5h39H/7dFSpq90wZFDsGhqFsekzuoV8zhHJBWirUq8EuvCsX0f9QnXE1HfcZlC0b/TEn iZCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WTcPzYI1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id p21si1221629eds.193.2020.08.12.04.31.28; Wed, 12 Aug 2020 04:31:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WTcPzYI1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727808AbgHLL2j (ORCPT + 99 others); Wed, 12 Aug 2020 07:28:39 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:39389 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726804AbgHLL2i (ORCPT ); Wed, 12 Aug 2020 07:28:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597231716; 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=KjV6K3m7aYpDUqAWmC+w9QBoR6kWl/pmzBrtpDLCLfY=; b=WTcPzYI1eRKJo1m7vvdk5jf0Bq3U2zRuUgcAd2Bn1JUnRoXFE+VdPwdNmDbOvSLr85GV7Z U1ZrLVl5P/z1FaB9K4RGtkz1nOE+4Bdg8fSro6T74MIM4UFu5XNXKohLXigAfN28pLcQk/ QLMDDKj7NNOXiDSSG7sglUTb+O97iws= 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-244-5J3rQyDiMHeKboA2VdWEqw-1; Wed, 12 Aug 2020 07:28:33 -0400 X-MC-Unique: 5J3rQyDiMHeKboA2VdWEqw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 56817802B54; Wed, 12 Aug 2020 11:28:31 +0000 (UTC) Received: from ws.net.home (unknown [10.40.193.69]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CA50710013D7; Wed, 12 Aug 2020 11:28:27 +0000 (UTC) Date: Wed, 12 Aug 2020 13:28:25 +0200 From: Karel Zak To: Miklos Szeredi Cc: Steven Whitehouse , David Howells , Linus Torvalds , linux-fsdevel , Al Viro , Jeff Layton , Miklos Szeredi , Nicolas Dichtel , Christian Brauner , Lennart Poettering , Linux API , Ian Kent , LSM , Linux Kernel Mailing List Subject: Re: file metadata via fs API Message-ID: <20200812112825.b52tqeuro2lquxlw@ws.net.home> References: <20200811135419.GA1263716@miu.piliscsaba.redhat.com> <52483.1597190733@warthog.procyon.org.uk> <98802.1597220949@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 12, 2020 at 12:04:14PM +0200, Miklos Szeredi wrote: > On Wed, Aug 12, 2020 at 11:43 AM Steven Whitehouse wrote: > > > > Hi, > > > > On 12/08/2020 09:37, Miklos Szeredi wrote: > > [snip] > > > > > > b) The awarded performance boost is not warranted for the use cases it > > > is designed for. > > > > > This is a key point. One of the main drivers for this work is the > > efficiency improvement for large numbers of mounts. Ian and Karel have > > already provided performance measurements showing a significant benefit > > compared with what we have today. If you want to propose this > > alternative interface then you need to show that it can sustain similar > > levels of performance, otherwise it doesn't solve the problem. So > > performance numbers here would be helpful. > > Definitely. Will measure performance with the interface which Linus proposed. The proposal is based on paths and open(), how do you plan to deal with mount IDs? David's fsinfo() allows to ask for mount info by mount ID and it works well with mount notification where you get the ID. The collaboration with notification interface is critical for our use-cases. Karel -- Karel Zak http://karelzak.blogspot.com