Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2110257pxb; Fri, 25 Mar 2022 11:15:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIwRy67SDwvY4XGKpoe/z1L9/vSOJfNgjziJIV5Ea8cHnZ6qj72aJH0Ezto9+UxDvy8qqj X-Received: by 2002:a05:6a00:1152:b0:4be:ab79:fcfa with SMTP id b18-20020a056a00115200b004beab79fcfamr11450139pfm.3.1648232142622; Fri, 25 Mar 2022 11:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648232142; cv=none; d=google.com; s=arc-20160816; b=vsePHRgt6rbjhbpH3xciaFvz9W2B+zO/+uv5SzKnGL91RlYbPQstYmXS+nNnu95Hxl Rz720doYXL7/RCVb5tBqvuv1ul8H3UhCtJqFXt0RAIBmPSk6hSNQwuwm19rT0Agz7so+ oRjtRacBsgevYe5xk7uq+0u1N4exrJoRMasRl8eT+gCnjwQeoFp6mdOXmDz+y5ITKBfB mfcOHqBEEZ4CrqFDO0zgKQzpBg3KR/msJ7hnmjSuwWHkE+3RZGiaNSGK1euYZIEotN7/ qPv7KtJ6ihI1W5eH4NIiy9Qdob9kPe3wv0n8YKNBqLJYamHtdM6uIj3YBa9HhiQtAmCR UxlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QV0KhUQHKl4aXmBQYHNqlykHIpFUuOHUwDc5QgUPTYY=; b=HD1qFK/ZTeQ20kjWEM7k5YzcKk2hX34ScgiswrAdk1YsAqpUPgY48na0qugpGK4K71 /l/GKTXQQ0FbutGcRp2p707QrygMqz8mpBn3+G4oMq13F1cTNkw7e2itx7WL1CtIIQOV YdillO7YWQ4RrZHG4RffFUaBluJeILfmfB/Hb8hc61l6X0plTAPOKNVClt6bDRPNcmUT RoigH3hO3Xk2PCmK31ZrGBw/Gnx+wsPA8kwCHO4UXYBYgCHlL1vjhyQkCjq9v0l8ZeYH AeA87K4+dkNtAs+vWQUKT9ukb5EvM3g+bIlpb6ifMi5iWMjK95QVuSlYPQ9YY0Fq5bRJ xjjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yEk52TU+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j13-20020a17090a694d00b001c7469269b5si6331112pjm.56.2022.03.25.11.15.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 11:15:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yEk52TU+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 96A3F150429; Fri, 25 Mar 2022 10:44:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238201AbiCXGfy (ORCPT + 99 others); Thu, 24 Mar 2022 02:35:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbiCXGfv (ORCPT ); Thu, 24 Mar 2022 02:35:51 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88E3A972D7; Wed, 23 Mar 2022 23:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QV0KhUQHKl4aXmBQYHNqlykHIpFUuOHUwDc5QgUPTYY=; b=yEk52TU+FpRR4o0qmJ21Ds/FEZ AZQs4fuEk/yEesqWBuwkid/mzwJEoyEnLvnkrS5O7t7vVch33QcJixa4IfyVPgpgIli/+pI1pBVhA eE+wS5VrBmv+t8ywPDmv4sSD40c8wOuT+eeysEG/DPDghdMgZwwT5szUb2xbtOHsMhLkA8s2KKY8W R/cQb9fH1FIqWa0KeLz9hoUKoVzd9yB3aXjV9u4ouSXURUe38J/fRHLUbmRgkFABxZKFEZGw4dhFs 6E3rjY2JCkQaJ97/3pAx9ezs8YexGQC7uJuJfalkrRii/5LXSX33sxp2+tjjDSqW5G9Fyg/E94zyH szJFQHhw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXH2v-00Fqwq-E6; Thu, 24 Mar 2022 06:34:09 +0000 Date: Wed, 23 Mar 2022 23:34:09 -0700 From: Christoph Hellwig To: Theodore Ts'o Cc: Miklos Szeredi , Christian Brauner , Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Linux API , linux-man , LSM , Karel Zak , Ian Kent , David Howells , Linus Torvalds , Al Viro , Christian Brauner , Amir Goldstein , James Bottomley Subject: Re: [RFC PATCH] getvalues(2) prototype Message-ID: References: <20220322192712.709170-1-mszeredi@redhat.com> <20220323114215.pfrxy2b6vsvqig6a@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 23, 2022 at 06:19:51PM -0400, Theodore Ts'o wrote: > I'm still a bit puzzled about the reason for getvalues(2) beyond, > "reduce the number of system calls". Is this a performance argument? > If so, have you benchmarked lsof using this new interface? Yeah. Even if open + read + close is a bnottle neck for fuse or network file systems I think a io_uring op for just that is a much better choice instead of this crazy multi-value operation. And even on that I need to be sold first.