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)
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
Unknown Object (File)
Sep 28 2024, 2:31 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable