linux/drivers/scsi/ibmvscsi_tgt
Bryant G. Ly a1ad38a61e 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 712db3eb2c ("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 <bly@catalogicsoftware.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-10-17 20:51:52 -04:00
..
ibmvscsi_tgt.c scsi: ibmvscsi_tgt: Remove target_wait_for_sess_cmd() 2018-10-17 20:51:52 -04:00
ibmvscsi_tgt.h ibmvscsis: Enable Logical Partition Migration Support 2017-06-08 23:26:37 -07:00
libsrp.c
libsrp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile