Skip to content
Commit 94d202d5 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv42: Copy offload should update the file size when appropriate

If the result of a copy offload or clone operation is to grow the
destination file size, then we should update it. The reason is that when
a client holds a delegation, it is authoritative for the file size.

Fixes: 16abd2a0

 ("NFSv4.2: fix client's attribute cache management for copy_file_range")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 09252177
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment