]> asedeno.scripts.mit.edu Git - linux.git/commit
NFS: skip recovery of copy open on dest server
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 8 Oct 2019 20:34:36 +0000 (16:34 -0400)
committerOlga Kornievskaia <olga.kornievskaia@gmail.com>
Wed, 9 Oct 2019 16:05:56 +0000 (12:05 -0400)
commit0b9018b9cab9b6a30fd6758ff0745ff74efcf374
tree700e0b52989eb63b38619c364de60c19373202bd
parentec4b0925089826af45e99cdf78a8ac84c1d005f1
NFS: skip recovery of copy open on dest server

Mark the open created for the source file on the destination
server. Then if this open is going thru a recovery, then fail
the recovery as we don't need to be recoving a "fake" open.
We need to fail the ongoing READs and vfs_copy_file_range().

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4file.c
fs/nfs/nfs4state.c