HomeFreeBSD

geom_io: Shift to pause_sbt to eliminate bogus min and update comment.

Description

geom_io: Shift to pause_sbt to eliminate bogus min and update comment.

Update to eliminate bogus min to ensure 0 was never passed to
pause. Instead, requrest 1ms with an 'infinite' precision, which
defaults to whatever the underlying time counter can do. This should
ensure we run fairly quickly to start processing done events, while
still giving a small pause for the system to catch its breath. This rate
limiter still is less than ideal, and this commit doesn't change
that. It should really have no functional change: it just uses a better
interface to express the desired sleep.

Sponsored by: Netflix
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D45316

Details

Provenance
impAuthored on May 24 2024, 2:31 PM
Reviewer
kib
Differential Revision
D45316: geom_io: Shift to pause_sbt to eliminate bogus min and update comment.
Parents
rG32f40fc9837d: geom: Add counts for enomem and pausing
Branches
Unknown
Tags
Unknown