HomeFreeBSD

iscsi: adjust shutdown_pre_sync handler

Description

iscsi: adjust shutdown_pre_sync handler

Don't attempt to service reconnections if RB_NOSYNC is set. More
crucially, don't do it if the scheduler is stopped, as the maintenance
thread will never run again.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42342

(cherry picked from commit 2ce1c45b3411410a5d0a4d08198a3b0010d493b7)

Details

Provenance
mhorneAuthored on Nov 23 2023, 3:26 PM
Reviewer
jhb
Differential Revision
D42342: iscsi: adjust shutdown_pre_sync handler
Parents
rGaaebd6d069f5: powerpc: better handling of shutdown flags
Branches
Unknown
Tags
Unknown