HomeFreeBSD

Set CLSET_TIMEOUT() on a TCP connection to a DS to lease_duration/4.

Description

Set CLSET_TIMEOUT() on a TCP connection to a DS to lease_duration/4.

Setting the value this way results in the DS being disabled after approximately
the lease duration, due to retries within the krpc.
At least this is what I am seeing during testing and making it a fraction of
the lease duration seemed better than just picking an arbitrary timeout.

Details

Provenance
rmacklemAuthored on
Parents
rS336276: Add a timeout to the msleep() waiting for a socket connection for the pNFS
Branches
Unknown
Tags
Unknown