HomeFreeBSD

iscsi: Abort data-out tasks queued on a terminating session.

Description

iscsi: Abort data-out tasks queued on a terminating session.

cfiscsi_datamove_out() can race with cfiscsi_session_terminate_tasks()
and enqueue a new task after the latter function has aborted existing
tasks. This could result in a deadlock as
cfiscsi_session_terminate_tasks() waited forever for this task to
complete.

Reviewed by: mav
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D31892

Details

Provenance
jhbAuthored on Sep 15 2021, 8:25 PM
Reviewer
mav
Differential Revision
D31892: iscsi: Abort data-out tasks queued on a terminating session.
Parents
rG529364b032d7: iscsi: Add a helper routine to abort a data-out task.
Branches
Unknown
Tags
Unknown