HomeFreeBSD

syncer vnode: add VOP_GETWRITEMOUNT() definition explicitly

Description

syncer vnode: add VOP_GETWRITEMOUNT() definition explicitly

Since syncer vnode vector does not provide a fallback to the default
one, its VOP_GETWRITEMOUNT() implementation implicitly returned
EOPNOTSUPP, which means that syncer ignored suspension.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Apr 16 2023, 5:04 PM
Parents
rGd8a096621bcf: sync_vnode(): add assert to check vn_start_write() correctness
Branches
Unknown
Tags
Unknown