HomeFreeBSD

Avoid starvation of the server crash recovery thread for the NFSv4 client.

Description

Avoid starvation of the server crash recovery thread for the NFSv4 client.

This patch gives a requestor of the exclusive lock on the client state
in the NFSv4 client priority over shared lock requestors. This avoids
the server crash recovery thread being starved out by other threads doing
RPCs.

Tested by: cperciva
PR: 216087
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Apr 10 2017, 1:28 AM
Parents
rG4e7dcfab2d3b: Fix the NFSv4 client hndling of a stale write verifier in the Commit operation.
Branches
Unknown
Tags
Unknown

Event Timeline