Page MenuHomeFreeBSD

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

Authored by jhb on Sep 9 2021, 6:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 7:32 PM
Unknown Object (File)
Mon, Nov 25, 5:40 PM
Unknown Object (File)
Sat, Nov 23, 12:33 AM
Unknown Object (File)
Wed, Nov 20, 10:35 PM
Unknown Object (File)
Wed, Nov 20, 8:59 AM
Unknown Object (File)
Thu, Nov 14, 9:09 PM
Unknown Object (File)
Thu, Nov 14, 2:25 PM
Unknown Object (File)
Thu, Nov 14, 12:49 PM
Subscribers

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 Passed
Unit
No Test Coverage
Build Status
Buildable 41450
Build 38339: arc lint + arc unit