NFSv4.2: remove restriction of copy size for inter-server copy.
authorDai Ngo <dai.ngo@oracle.com>
Fri, 21 May 2021 19:09:38 +0000 (15:09 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 10 Aug 2021 18:18:35 +0000 (14:18 -0400)
commitca7d1d1a0b975d3d8aaaeab008a07bb3d3c5ec7e
tree86d877fe1afbb6e22d08f594831d28f75dc947eb
parent9eff97abef057c02a13bb3aa0e4821cd60fd80df
NFSv4.2: remove restriction of copy size for inter-server copy.

Currently inter-server copy is allowed only if the copy size is larger
than (rsize*14) which is the over-head of the mount operation of the
source export. This patch, relying on the delayed unmount feature,
removes this restriction since the mount and unmount overhead is now
not applicable for every inter-server copy.

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4file.c