summaryrefslogtreecommitdiff
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2021-02-24 21:39:50 +0300
committerChuck Lever <chuck.lever@oracle.com>2021-03-07 00:41:48 +0300
commitbfdd89f232aa2de5a4b3fc985cba894148b830a8 (patch)
tree47e50128eed0e3563cdcda3394568d6c8e33174a /net/sunrpc/svc_xprt.c
parent7005227369079963d25fb2d5d736d0feb2c44cf6 (diff)
downloadlinux-bfdd89f232aa2de5a4b3fc985cba894148b830a8.tar.xz
nfsd: don't abort copies early
The typical result of the backwards comparison here is that the source server in a server-to-server copy will return BAD_STATEID within a few seconds of the copy starting, instead of giving the copy a full lease period, so the copy_file_range() call will end up unnecessarily returning a short read. Fixes: 624322f1adc5 "NFSD add COPY_NOTIFY operation" Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions