]> 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>
Thu, 11 Feb 2021 21:52:18 +0000 (13:52 -0800)
commit47769bc5573fc5d2263f9e20cb06f6c12d0a82e7
tree1cfdbb8471b44801a8e479cff7218b93ce6e20c4
parente07ac3f2fd7336e04178d116033989a6c099fec4
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.

Reviewed by: scottl, mav
MFC after: 2 weeks
Sponsored by: Chelsio
Differential Revision: https://reviews.freebsd.org/D28455
sys/dev/iscsi/iscsi.c