NFS: Cache inconsistencies are present after using copy_file_range()
Issue
- The local cache state of a file is inconsistent with the NFS server after
using copy_file_range()
- The NFS client is doing a partial read of a file from a NFS server instead of reading to the end of the file.
- Clearing the page cache,
# echo 1 > /proc/sys/vm/drop_caches
, causes the NFS client force a read from the NFS server.
Environment
- Red Hat Enterprise Linux 8
- NFS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.