]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 May 2021 21:06:51 +0000 (17:06 -0400)
commit01acfe06f3f8145c431f45f6b0af1dbb49496333
tree4920e028ee0f0d9104581b205642fbc98ba97374
parentf4e44b393389c77958f7c58bf4415032b4cda15b
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: J. Bruce Fields <bfields@redhat.com>
fs/nfs/nfs4file.c