HomeFreeBSD

Make nfs pageout coherent with the dirty state of the buffers.

Description

Make nfs pageout coherent with the dirty state of the buffers.

Write out the dirty pages using VOP_WRITE() instead of directly
calling ncl_writerpc(). The state of the buffers now reflects the
write, fixing some hard to diagnose consistency and write order
issues. The change also allowed to remove remapping of paged out
pages into kernel space and related allocation of the phys buffer.

Reviewed by: markj, rmacklem
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D10241

Details

Provenance
kibAuthored on
Reviewer
markj
Differential Revision
D10241: Make nfs pageout coherent with the buffer cache.
Parents
rS316531: Handle nfs IO_ASYNC write requests asynchronously.
Branches
Unknown
Tags
Unknown