Home
last modified time | relevance | path

Searched hist:"2819 b4ae" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_fw.c2819b4ae Tue May 25 13:18:17 CDT 2021 Mike Christie <michael.christie@oracle.com> scsi: qedi: Fix TMF session block/unblock use

Drivers shouldn't be calling block/unblock session for tmf handling because
the functions can change the session state from under libiscsi.
iscsi_queuecommand's call to iscsi_prep_scsi_cmd_pdu->
iscsi_check_tmf_restrictions will prevent new cmds from being sent to qedi
after we've started handling a TMF. So we don't need to try and block it in
the driver, and we can remove these block calls.

Link: https://lore.kernel.org/r/20210525181821.7617-25-michael.christie@oracle.com
Reviewed-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>