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
F102592674: D31892.diff
Thu, Nov 14, 12:49 PM
Unknown Object (File)
Sun, Nov 3, 8:25 PM
Unknown Object (File)
Fri, Oct 18, 2:26 AM
Unknown Object (File)
Oct 6 2024, 6:31 PM
Unknown Object (File)
Oct 2 2024, 7:29 AM
Unknown Object (File)
Oct 1 2024, 7:32 PM
Unknown Object (File)
Oct 1 2024, 4:11 PM
Unknown Object (File)
Sep 30 2024, 3:13 AM
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