HomeFreeBSD

nfsd: Make loop calling VOP_ALLOCATE() iterate until done

Description

nfsd: Make loop calling VOP_ALLOCATE() iterate until done

The NFSv4.2 Deallocate operation loops on VOP_DEALLOCATE()
while progress is being made (remaining length decreasing).
This patch changes the loop on VOP_ALLOCATE() for the NFSv4.2
Allocate operation do the same, instead of stopping after
an arbitrary 20 iterations.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Aug 29 2021, 11:46 PM
Parents
rGd98954e22981: routing: Bring back the ability to specify transmit interface via its name.
Branches
Unknown
Tags
Unknown