aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorBryant G. Ly <[email protected]>2018-10-16 17:34:26 +0000
committerMartin K. Petersen <[email protected]>2018-10-18 00:51:52 +0000
commita1ad38a61e34a67bce75c01702d056f051feaf04 (patch)
treea44193525980f8191d6e94b50e2438810f76660e /drivers/scsi/scsi_error.c
parentscsi: ufs: Schedule clk gating work on correct queue (diff)
downloadkernel-a1ad38a61e34a67bce75c01702d056f051feaf04.tar.gz
kernel-a1ad38a61e34a67bce75c01702d056f051feaf04.zip
scsi: ibmvscsi_tgt: Remove target_wait_for_sess_cmd()
There is currently a bug with the driver where there is never a call to target_sess_cmd_list_set_waiting(), it only called target_wait_for_sess_cmd(), which basically means that the sess_wait_list would always be empty. Thus, list_empty(&sess->sess_wait_list) = true, (eg: no se_cmd I/O is quiesced, because no se_cmd in sess_wait_list), since commit 712db3eb2c35 ("scsi: ibmvscsis: Properly deregister target sessions") in 4.9.y code. ibmvscsi_tgt does not remove the I_T Nexus when a VM is active so we can fix this issue by removing the call to target_wait_for_sess_cmd() altogether. Signed-off-by: Bryant G. Ly <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions