Commit bfdd89f
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: 624322f "NFSD add COPY_NOTIFY operation"
Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent 7005227 commit bfdd89f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5389 | 5389 | | |
5390 | 5390 | | |
5391 | 5391 | | |
5392 | | - | |
| 5392 | + | |
5393 | 5393 | | |
5394 | 5394 | | |
5395 | 5395 | | |
| |||
0 commit comments