HomeFreeBSD

nfsclient: limit situations when we do unlocked read-ahead by nfsiod

Description

nfsclient: limit situations when we do unlocked read-ahead by nfsiod

If there were or are writeable mappings, read-ahead might overwrite the
dirty pages data that is not yet reflected as a delayed write in the
matching buffer state.

Noted by: rmacklem
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Jan 1 2024, 10:22 PM
Parents
rG2d33ad48bd37: vtruncbuf: improve the check for meta buffer
Branches
Unknown
Tags
Unknown