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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5099DC433F5 for ; Thu, 24 Mar 2022 06:34:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238246AbiCXGf6 (ORCPT ); Thu, 24 Mar 2022 02:35:58 -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 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.