Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

Chuck Lever e58691ea e609e386

-7
-7
fs/nfsd/nfs4proc.c
··· 1917 1917 struct nfsd42_write_res *result; 1918 1918 __be32 status; 1919 1919 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 - 1927 1920 result = &copy->cp_res; 1928 1921 nfsd_copy_write_verifier((__be32 *)&result->wr_verifier.data, nn); 1929 1922