aboutsummaryrefslogtreecommitdiff
path: root/sys/teken
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2020-10-18 16:30:49 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2020-10-18 16:30:49 +0000
commit186bcdaac7c70e59eb04412ad402a6fb57b97d11 (patch)
tree4e5a5ecbcb8c8b4fcf7c94da20dd6022c2af4596 /sys/teken
parentd22ff249d9733ed0ff628efd797f3ea3ec66c913 (diff)
downloadsrc-186bcdaac7c70e59eb04412ad402a6fb57b97d11.tar.gz
src-186bcdaac7c70e59eb04412ad402a6fb57b97d11.zip
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
Notes
Notes: svn path=/head/; revision=366812
Diffstat (limited to 'sys/teken')
0 files changed, 0 insertions, 0 deletions