K 10 svn:author V 3 ram K 8 svn:date V 27 2021-12-17T10:05:54.965259Z K 7 svn:log V 674 ocs_fc: When commands complete with an error, freeze the device queue. Proper error recovery depends on freezing the device queue when an error occurs, so we can recover from an error before sending additional commands. The ocs_fc(4) driver was not freezing the device queue for most SCSI errors, and that broke error recovery. sys/dev/ocs_fc/ocs_cam.c: In ocs_scsi_initiator_io_cb(), freeze the device queue if we're passing back status other than CAM_REQ_CMP. Submitted by: ken@kdm.org Reviewed by: mav, ken (cherry picked from commit d063d1bc928165e7798df5ec1c424794a1ec41e9) Git Hash: 668615aea2c9e3ef33ebe23c497955a922fa20c8 Git Author: ram@FreeBSD.org END