Page MenuHomeFreeBSD

Fix iSCSI hangs on shutdown.
ClosedPublic

Authored by trasz on Jul 11 2015, 3:07 PM.
Tags
None
Referenced Files
F81971343: D3052.id6858.diff
Sun, Dec 15, 1:56 AM
F81971302: D3052.id7608.diff
Sun, Dec 15, 1:38 AM
F81971087: D3052.diff
Sat, Dec 14, 11:56 PM
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
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.