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.

MFC after: 3 days

Details

Provenance
mavAuthored on Mar 6 2021, 3:39 AM
Parents
rGe77cf2a4ab32: Restore /boot/efi to mtree.
Branches
Unknown
Tags
Unknown