Re: [PATCH] scsi: ibmvscsi_tgt: Remove target_wait_for_sess_cmd()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bryant,

> 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.

Applied to 4.20/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux