From nobody Fri Jan 12 12:02:47 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 4TBKsz2f2Hz56hSd; Fri, 12 Jan 2024 12:02:47 +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 4TBKsz1rc6z4t4G; Fri, 12 Jan 2024 12:02:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705060967; 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=q4SbcxnLSoFLGLfyf2myNR1QOlY5QGeupgEPJO+BdNE=; b=brTlf3E4sNL9k8ng1B/rES9bceVYgdFCUlmDo6g5KWCohsGcC8/w/xKOXrzwbm8kKMIwgs 85Liw81q9T2GLYhAqIyH9kej9Wu+Hys6l/gLs07dICQB1ssxsGfQ14VXs78JHaA8BIgyJk NPtitmZflsRoUaEqphEHGLokO7kOLliSip5dKRyEaAJCKrX2c5anwSpBFSRe+2gYVXLwfQ AogQah/f/A8stn0bhtoD0yNKiaoVrsPdSK7KBaq7kcgxeq/W67M9K50oThsWmquXif/C0/ XRWMNRNcS+WNt/g13zpNKRAleQGUvNTO3V3WhzglT1aDZUHiUZygnBOqJ/RMCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705060967; 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=q4SbcxnLSoFLGLfyf2myNR1QOlY5QGeupgEPJO+BdNE=; b=qbkaDh8FieSrO57mG1uxK9vslW758AjGal+ikFk5fi1uceXg/09gsXU22Eqh4ee7itwTLV WP1XHEk2TZ5c6o3C5nSthPopF6OpZkWhRF0THh87/t95l/2GoLlbqrEef9FXuphmrPZPkK K+G5kqE9sJrbbKPi6CZvCBIwJJPH+qFmwplPR2cma5Ehm20/758lVq4gDn6d7Y/uX1QpVf ZYB91Prdc8NP5i+VPZFTI9nxB9iStKXQi2eNdS5b7KCg61Z8+5dJb0W/+ULRya1rIdtttx +PxcW7OsB3icNwrKFXiz1cfM+vRamE+44bSop2KVuqtkB0Nn3z/ytmLu64ctQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705060967; a=rsa-sha256; cv=none; b=nrimSbXR7CQMrA0F7KwiTXobMF8mb0wqoEN11SNg1BVRqylBAMgFBApOUlbZonU4fuqenF C4jjS+bXZgH6OhycmQmxxs4qohU6iNCPFYB1a2BuCdErX1jZECOYXjcUBpSCEd1/QB0Z0k Xs7I6qoKTeWocE7SwYFkgQN5jPilsQjGDuiaiIjBY/GQEOSjyFuCSYYLGxORxSjrh63NJ6 lslaJuvhXyFQ3Z0uvfDJ/cZY7vqk8tPTZ/hFLui4IjHEXmNRLur11Dql+oVup9Kw2DMXbi g4QM2MNLaiPUUU/D4nVt0Rs/zjZaHGUKo6MfWCXA894FO4Nr0YU+YC6waNUuWg== 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 4TBKsz0vPWz11XL; Fri, 12 Jan 2024 12:02:47 +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 40CC2l1d005538; Fri, 12 Jan 2024 12:02:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40CC2lSL005535; Fri, 12 Jan 2024 12:02:47 GMT (envelope-from git) Date: Fri, 12 Jan 2024 12:02:47 GMT Message-Id: <202401121202.40CC2lSL005535@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: d139cab8d13b - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: d139cab8d13b83b90872f6ca5dc53890c85826a9 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d139cab8d13b83b90872f6ca5dc53890c85826a9 commit d139cab8d13b83b90872f6ca5dc53890c85826a9 Author: Konstantin Belousov AuthorDate: 2023-12-29 23:22:40 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-11 16:47:51 +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 642963694a0a..443d8bc6d56b 100644 --- a/sys/fs/nfsclient/nfs_clvnops.c +++ b/sys/fs/nfsclient/nfs_clvnops.c @@ -3881,7 +3881,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;