Page MenuHomeFreeBSD

Fix iSCSI hangs on shutdown.
ClosedPublic

Authored by trasz on Jul 11 2015, 3:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:08 AM
Unknown Object (File)
Oct 3 2023, 10:04 PM
Unknown Object (File)
Aug 21 2023, 4:12 AM
Unknown Object (File)
Aug 20 2023, 10:30 PM
Unknown Object (File)
Jun 29 2023, 2:38 PM
Unknown Object (File)
Jun 7 2023, 12:07 PM
Unknown Object (File)
Dec 23 2022, 8:05 AM
Unknown Object (File)
Apr 19 2017, 6:27 AM
Subscribers

Details

Summary

Rework the way iSCSI initiator handles system shutdown. This fixes
hangs on shutdown with mounted LUNs from a reconnecting session.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

trasz retitled this revision from to Fix iSCSI hangs on shutdown..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

While I agree with not trying to reconnect on shutdown, that predictable fail due to absence of iscsid, I am not sure what is the motivation of other changes. For example, destroying device before the final sync may leave FS dirty. Is there some problem to keep connection active until both FS and CAM do their syncs?

Erm, but that's exactly what this patch does - or at least it's supposed to do: working sessions continue to work as before, while disconnected ones fail IO instead of waiting for reconnection.

This revision was automatically updated to reflect the committed changes.