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
F170013172: D31892.diff
Thu, Sep 3, 6:11 AM
F170006253: D31892.id94929.diff
Thu, Sep 3, 5:52 AM
Unknown Object (File)
Wed, Sep 2, 4:52 PM
Unknown Object (File)
Wed, Sep 2, 8:15 AM
Unknown Object (File)
Wed, Sep 2, 12:11 AM
Unknown Object (File)
Tue, Sep 1, 1:45 AM
Unknown Object (File)
Mon, Aug 31, 4:03 PM
Unknown Object (File)
Mon, Aug 31, 8:00 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