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)
Tue, Dec 10, 10:28 PM
Unknown Object (File)
Wed, Dec 4, 10:00 PM
Unknown Object (File)
Nov 13 2024, 9:08 PM
Unknown Object (File)
Oct 3 2024, 3:08 AM
Unknown Object (File)
Oct 2 2024, 11:40 AM
Unknown Object (File)
Oct 2 2024, 11:40 AM
Unknown Object (File)
Oct 2 2024, 11:40 AM
Unknown Object (File)
Oct 2 2024, 11:26 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.