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
Parents
rS316668: Fix reference count leak with L2 caching.
Branches
Unknown
Tags
Unknown