HomeFreeBSD

Do not exit ctl_be_block_worker() prematurely.

Description

Do not exit ctl_be_block_worker() prematurely.

Return while there are any I/Os in a queue may result in them stuck
indefinitely, since there is only one taskqueue task for all of them.
I think I've reproduced this by switching ha_role to secondary under
heavy load.

Approved by: re (delphij)

(cherry picked from commit 6ed39db2573bb808ac2c206cd6c831f0be86219c)
(cherry picked from commit a3d416f3daafc59bc2f4ee278593c8a3f7a30d2b)

Details

Provenance
mavAuthored on Mar 6 2021, 3:39 AM
Parents
rGc7ea14ed6188: Move back the isa non-PNP driver deadline to FreeBSD 14.
Branches
Unknown
Tags
Unknown