HomeFreeBSD

nfsclient copy_file_range(): flush dst vnode data

Description

nfsclient copy_file_range(): flush dst vnode data

Otherwise server-side copy makes the client cache inconsistent with the
server data.

Reported by: asomers
PR: 276002
Reviewed by: rmacklem
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D43250

Details

Provenance
kibAuthored on Dec 29 2023, 11:22 PM
Reviewer
rmacklem
Differential Revision
D43250: nfsclient: handle page and buffer cache consistency()
Parents
rG987446fa39e8: mlx5(4): only detach IOV children if iov was successfully initialized
Branches
Unknown
Tags
Unknown