Page MenuHomeFreeBSD

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

Authored by jhb on Sep 9 2021, 6:27 PM.

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 41450
Build 38339: arc lint + arc unit