freebsd-dev/sys/dev/iscsi
Edward Tomasz Napierala 186bcdaac7 If the SIM freezes the queue at exactly the wrong moment, after
another thread has started to send in a CCB and already checked
the queue wasn't frozen, we would end up with iscsi_action()
being called despite the queue is now frozen.

Add a check to make sure this doesn't happen . Perhaps this should
be fixed at the CAM level instead, but given how the send queue and
SIM are governed by two separate mutexes, it is somewhat hard to do.

Reviewed by:	imp, mav
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D26750
2020-10-18 16:30:49 +00:00
..
icl_conn_if.m Implement zero-copy iSCSI target transmission/read. 2020-06-08 20:53:57 +00:00
icl_soft_proxy.c iscsi: clean up empty lines in .c and .h files 2020-09-01 21:30:22 +00:00
icl_soft.c iscsi: clean up empty lines in .c and .h files 2020-09-01 21:30:22 +00:00
icl_wrappers.h Implement zero-copy iSCSI target transmission/read. 2020-06-08 20:53:57 +00:00
icl.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (1 of many) 2020-02-15 18:48:38 +00:00
icl.h Implement zero-copy iSCSI target transmission/read. 2020-06-08 20:53:57 +00:00
iscsi_ioctl.h Add DSCP support for network QoS to iscsi initiator. 2020-10-09 14:33:09 +00:00
iscsi_proto.h
iscsi.c If the SIM freezes the queue at exactly the wrong moment, after 2020-10-18 16:30:49 +00:00
iscsi.h