commit | 94d202d5ca39d0eb757d16ef2624b013fb64f64d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Apr 14 10:10:09 2021 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Apr 14 10:41:57 2021 -0400 |
tree | fff1628a4f15c2c0a1b5f71aad228aa5804e1112 | |
parent | 09252177d5f924f404551b4b4eded5daa7f04a3a [diff] |
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: 16abd2a0c124 ("NFSv4.2: fix client's attribute cache management for copy_file_range") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>