Skip to content

Commit e58691e

Browse files
committed
Revert "NFSD: Force all NFSv4.2 COPY requests to be synchronous"
In the past several kernel releases, we've made NFSv4.2 async copy reliable: - The Linux NFS client and server now both implement and use the NFSv4.2 OFFLOAD_STATUS operation - The Linux NFS server keeps copy stateids around longer - The Linux NFS client and server now both implement referring call lists And resilient against DoS: - The Linux NFS server limits the number of concurrent async copy operations Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent e609e38 commit e58691e

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

fs/nfsd/nfs4proc.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,13 +1917,6 @@ nfsd4_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
19171917
struct nfsd42_write_res *result;
19181918
__be32 status;
19191919

1920-
/*
1921-
* Currently, async COPY is not reliable. Force all COPY
1922-
* requests to be synchronous to avoid client application
1923-
* hangs waiting for COPY completion.
1924-
*/
1925-
nfsd4_copy_set_sync(copy, true);
1926-
19271920
result = &copy->cp_res;
19281921
nfsd_copy_write_verifier((__be32 *)&result->wr_verifier.data, nn);
19291922

0 commit comments

Comments
 (0)