From nobody Tue May 31 19:00:42 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FBA71B5E0E4; Tue, 31 May 2022 19:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LCM6y41xVz3F1l; Tue, 31 May 2022 19:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654023642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cpFaU0h7WDNTIoo9VU1vPBxCZxCmHuLiOuY64wji6+U=; b=oETEZrDTw2bFnCjT/FIE7D0nOyNCtOSYTvf44VVRieaOqoYXmV6R2oXx2YzkvcCOJ7kZAf cd0FMLwy8dln5kWg/I/hwE830tRB40+yB+WENy9YP1saXRKZxwt3mI7uHFgWE6fM9whhqd XMwaOtgrIDO3xn8MJyCtKBshzWC/wsuK/6rO8Tcpgwxj6E7jFBMHFUj/fx5ut+Za2KP9BT dQoXtIlXe+Z4LIF/20JgcJJTeAl9S5h37Jp3kyFyLpwFNOH2KxE5u0QpRHgrLXIUu9slZQ 71cGiFklxHcyRqeKVQd/FNqPvJFO35oKtgZIn4jkt8pR+h6c6w1V+guRiteEaw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69E901134F; Tue, 31 May 2022 19:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24VJ0gDH067617; Tue, 31 May 2022 19:00:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24VJ0gpb067616; Tue, 31 May 2022 19:00:42 GMT (envelope-from git) Date: Tue, 31 May 2022 19:00:42 GMT Message-Id: <202205311900.24VJ0gpb067616@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 9792c7d3eb41 - main - nfscl: Enable support for the Lookup+Open RPC List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9792c7d3eb41dc1e3709e00a98734c3312d1b4fe Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654023642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cpFaU0h7WDNTIoo9VU1vPBxCZxCmHuLiOuY64wji6+U=; b=XO8lY+XWo7NHOQtFzsjdm2KU6uyUJ0cFr/2r2RBc09Vt9B6Ig1KsrUKAc4jbK1H7LLwgad iT3dhxUI7EHKoLZPe374WlyiEV2nV5DoML08gCKX6Qa+1+5Y/HK9rSvwYCmI9p4cqgvoSl 56/Z0VAhQnjWjPdyMixb1/mVL/l8om9Sis/SsiCoz5TDLQe0THOpNtS5a2fDeRBPP3uAyY fWAvBlucTTCw4KewJAt1lGwLkUn1wCxNok/qM645uBNC5N/v9/RLCqoRL6SS8tLXkCRbXN iidj3gc+GL+CXyraW9ugkveGv+cWakRckqWb+DEtgpt+QVFRBzDdcrprEZli9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654023642; a=rsa-sha256; cv=none; b=tJBpqHAMm5FSquRFrTFKXPzbvsr13I5uLpCuMiYtBgLYkMyd4bDl8EI3Ox+AkAAY8L6p1p 2HThXqC+lOMNrtwtmsg3Z5L+fNnvy4kFmcwFLZOxaqQdijrr3d71H+Z0uadI+zup+fYHJP JOqmX0AKkaSKn2hiRuWadWJ5Y2n0Otutq7kEInIW34fjEbsJNcmMCEe88bSvttdbMsRtkp 909lLpRrjLJ07KsC9ct2QiP/2ZWCEtpZT+iI564szNRAgMl9rWakYRIBKTNJgY43v5BinS a6NsjoxE89RIjA8j19O+VIelom2p3ZnlBX0bnM9rz2IYFwUsGkT67A9zc74Hjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=9792c7d3eb41dc1e3709e00a98734c3312d1b4fe commit 9792c7d3eb41dc1e3709e00a98734c3312d1b4fe Author: Rick Macklem AuthorDate: 2022-05-31 18:59:39 +0000 Commit: Rick Macklem CommitDate: 2022-05-31 18:59:39 +0000 nfscl: Enable support for the Lookup+Open RPC Commits 3ad1e1c1ce20 and 57014f21e754 added a Lookup+Open RPC for NFSv4.1/4.2, which can reduce the RPC count by 10-20% for some loads. This has now received a fair amount of testing, so I think it is ok to enable it. Note that the Lookup+Open RPC is only used when the "oneopenown" mount option is specified. As such, this change won't affect most NFSv4.1/4.2 mounts. --- sys/fs/nfsclient/nfs_clvnops.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c index 3bc65f5136f4..af48b5036969 100644 --- a/sys/fs/nfsclient/nfs_clvnops.c +++ b/sys/fs/nfsclient/nfs_clvnops.c @@ -1323,11 +1323,6 @@ nfs_lookup(struct vop_lookup_args *ap) } openmode = 0; -#if 0 - /* - * The use of LookupOpen breaks some builds. It is disabled - * until that is fixed. - */ /* * If this an NFSv4.1/4.2 mount using the "oneopenown" mount * option, it is possible to do the Open operation in the same @@ -1347,7 +1342,6 @@ nfs_lookup(struct vop_lookup_args *ap) openmode |= NFSV4OPEN_ACCESSWRITE; } NFSUNLOCKMNT(nmp); -#endif newvp = NULLVP; NFSINCRGLOBAL(nfsstatsv1.lookupcache_misses);