HomeFreeBSD

Take the vm object lock in read mode in vnode_generic_putpages().

Description

Take the vm object lock in read mode in vnode_generic_putpages().

Only upgrade it to write mode if we need to clear dirty bits of the
partially valid page after EOF.

Suggested and reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks

Details

Provenance
kibAuthored on
Parents
rS324806: Use the .Fx macro consistently.
Branches
Unknown
Tags
Unknown