HomeFreeBSD

nfscl: Use a smaller initial delay time for NFSERR_DELAY

Description

nfscl: Use a smaller initial delay time for NFSERR_DELAY

For NFS RPCs that receive a NFSERR_DELAY reply, the delay time
is initially 1sec and then increases exponentially to NFS_TRYLATERDEL.
It was found that this delay time is excessive for some NFSv4
servers, which work well with a 1msec delay.
A 1sec delay resulted in very slow performance for Remove and
Rename when delegations and pNFS were enabled.

This patch decreases the initial delay time to 1msec.

Found during a recent IETF NFSv4 working group testing event.

(cherry picked from commit 5a95a6e8e4d9e947b3bb4b4755a7242e1ddd72e7)

Details

Provenance
rmacklemAuthored on Nov 2 2021, 12:21 AM
Parents
rGc6d3831e5492: bsdinstall: Fix mirror selection
Branches
Unknown
Tags
Unknown