]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
iscsi: Mark iSCSI CAM sims as non-pollable.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 11 Feb 2021 21:51:20 +0000 (13:51 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 22 Mar 2021 20:37:46 +0000 (13:37 -0700)
commit6a1dbc8ba95653c358afb23126a95d4aec51f48b
tree7f92dff09e4cc3d4181c828321f1f6b42b1d6d7b
parent9df8f5a9c684358e1cf713cb85aa72416d92af48
iscsi: Mark iSCSI CAM sims as non-pollable.

Previously, iscsi_poll() just panicked.  This meant if you got a panic
on a box when using the iSCSI initiator, the attempt to shutdown would
trigger a nested panic and never write out a core.  Now, CCB's sent to
iSCSI devices (such as the sychronize-cache request in dashutdown())
just fail with a timeout during a panic shutdown.

Sponsored by: Chelsio

(cherry picked from commit 47769bc5573fc5d2263f9e20cb06f6c12d0a82e7)
sys/dev/iscsi/iscsi.c