Commit 55410441 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfsv42: update OperationCOPY to support async copy

Motivation:
For a big files client might request an async copy. Moreover, the server
itself might decide to switch to async mode if requests takes too long.
Thus the server should be ready to notify the client when copy is complete.

Modification:
Update OperationCOPY to (a) use async copy if requests or switch to
async mode if copyFileRange syscall takes too long.

Result:
async behavior for server-side-copy

Acked-by: Paul Millar
Target: master
parent 20968d28
Pipeline #19298 passed with stage
in 1 minute and 47 seconds