HomeFreeBSD

MFC r271588: Update CAM CCB accounting for the new status quo.

Description

MFC r271588: Update CAM CCB accounting for the new status quo.

devq_openings counter lost its meaning after allocation queues has gone.
held counter is still meaningful, but problematic to update due to separate
locking of CCB allocation and queuing.

To fix that replace devq_openings counter with allocated counter. held is
now calculated on request as difference between number of allocated, queued
and active CCBs.

Details

Provenance
mavAuthored on
Parents
rS273077: Clear VM_RC_LIST.
Branches
Unknown
Tags
Unknown

Event Timeline