HomeFreeBSD

Fix the act_scan_laundry_weight mechanism.

Description

Fix the act_scan_laundry_weight mechanism.

r292392 modified the active queue scan to weigh clean pages differently
from dirty pages when attempting to meet the inactive queue target. When
r306706 was merged into the PQ_LAUNDRY branch, this mechanism was
broken. Fix it by scalaing the correct page shortage variable.

Reviewed by: alc, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D13423

Details

Provenance
markjAuthored on
Reviewer
alc
Differential Revision
D13423: Fix the act_scan_laundry_weight mechanism.
Parents
rS326731: Provide a sysctl to force synchronous initialization of inode blocks.
Branches
Unknown
Tags
Unknown