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.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Nov 2 2021, 12:21 AM
Parents
rG932c2667d9bc: systat: fix stack overflow when running -iostat
Branches
Unknown
Tags
Unknown