By reading the implementation of vnode_pager_putpages_ioflags() and
vnode_pager_generic_putpages(), if VM_PAGER_CLUSTER_OK is not set write
may be performed asynchronously.
Details
Details
- Reviewers
emaste mckusick - Group Reviewers
manpages - Commits
- rS350165: MFC r349543
rS349543: Fix VOP_PUTPAGES(9) in regards to the use of VM_PAGER_CLUSTER_OK
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Doing asynchronous writes prevents clustering. The correct fix is to say:
If .Dv VM_PAGER_CLUSTER_OK is set, writes may be delayed so that related writes can be coalesced for efficiency, e.g.,