From nobody Fri Jan 12 12:01:22 2024 X-Original-To: dev-commits-src-all@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 4TBKrM1504z56h5g; Fri, 12 Jan 2024 12:01:23 +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 4TBKrM0Mljz4q40; Fri, 12 Jan 2024 12:01:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705060883; 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=8h86lgD0uzx5VnzQ8GI3JlAIkgalMmuQQx0bqlyOKPI=; b=XSfw8gJXAZuGdGEZoPQ3Nfyv5v0d83abs6oQ4GHwKMzV/RKdpOfyGP0Osuykn2/Sqwhu/l 1Fwac9peESey3j33VFPJRn2g+Hnc9dqK1J4lRTQWN9etqrpUt3YiLrwK1Yzaxcb47BNrYm 2ViS1AGfEkOGdqKyRstFnoLXreRTKVwm1r6k1I2l61IJZ2t4hv1a4nbvtFRFW1VuXahum0 /NiXtSww8iAdREKI6Q/wv1b3o4zWGwpsmnNW7w1jO5vs5cfbH9b1DgHaGnuGgCAGsdDnUs LrE9hcdxnoNCtnxrU4/aLopKa+a5HMAL6NI6tAZxRu+TcBbDFJxmsPla3OnDmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705060883; 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=8h86lgD0uzx5VnzQ8GI3JlAIkgalMmuQQx0bqlyOKPI=; b=HwQtiLcSavGm8gWEhCWHps+WUxmoPITVB9V543NwFYqQCEE6T6xvhQABUD/b5qavxrAIeL CFlWj/PN44HacxTzNQxj1oUTisCYgTqGF54Ob/c+YtxJ7l0Jh0/0CaYkuujmXSllAab6Nt 7lqKwg9CtbqgZCR006wBtDilxOS0mgOgCiqjfqQa1nGmRlmoPHJv4N9W80qM5iaoH63ZSU Yx5HQ8p4GeDeiBTicEEMRPXeJM9SvRMpKXx84Iw+xrYiBx2c8IBS37oS3ESdeKjnNF4bCM IzrkAugtwHnxJSnN47S7IzkwsTCNFufEXECtThX/vpzT2D/sOLrI9xXrI6ZYxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705060883; a=rsa-sha256; cv=none; b=DgZHWzk0KO/Neg1oqJFZiIMEBW3QxdsACRCIxV64jdxWgO1v1vwqP6NvEnr5PGlInJb1hS pL+FbC+asjeH97Z9zhqdd1P85y/mViv8fbz+Em/ZdnV5C5pCtqW/+zs7lW2tpg4MZ1vxMm Up8/7Seemy1DZIrbX06UDVPv+jAm0dK952A1pVmbYfmtIk99QKT9eX6JB+IalS/ssLbscN ZKK5n9kFFB5Da/x7BuP87n7Go8wLvYUvCKnimx+kW8/+Q9lCkaUOMZ6AZotEFxFFiAdA7Y JyWovllgj+tH3ox+3mYru5OppOq/RwL1JyVbim/OkrS27KLWRREXb02pWnd0iA== 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 4TBKrL6bG1z11yc; Fri, 12 Jan 2024 12:01:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40CC1MUK000502; Fri, 12 Jan 2024 12:01:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40CC1MkT000499; Fri, 12 Jan 2024 12:01:22 GMT (envelope-from git) Date: Fri, 12 Jan 2024 12:01:22 GMT Message-Id: <202401121201.40CC1MkT000499@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 384c72acb50d - stable/14 - nfsclient copy_file_range(): flush dst vnode data List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 384c72acb50d3fd5a3bd07f41d3755867865c0b6 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=384c72acb50d3fd5a3bd07f41d3755867865c0b6 commit 384c72acb50d3fd5a3bd07f41d3755867865c0b6 Author: Konstantin Belousov AuthorDate: 2023-12-29 23:22:40 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-11 16:46:52 +0000 nfsclient copy_file_range(): flush dst vnode data PR: 276002 (cherry picked from commit 7dae1467d72ae1f5c8f7be0f7444da23a457d98b) --- sys/fs/nfsclient/nfs_clvnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c index a690e988b4b3..f86ecd53ad4e 100644 --- a/sys/fs/nfsclient/nfs_clvnops.c +++ b/sys/fs/nfsclient/nfs_clvnops.c @@ -3956,7 +3956,7 @@ generic_copy: if (error == 0) error = ncl_flush(invp, MNT_WAIT, curthread, 1, 0); if (error == 0) - error = ncl_flush(outvp, MNT_WAIT, curthread, 1, 0); + error = ncl_vinvalbuf(outvp, V_SAVE, curthread, 0); /* Do the actual NFSv4.2 RPC. */ ret = ret2 = 0;