Revision f1132ba3465d56622c286beef6b511fd55c6482b authored by Hsien Chang on 22 January 2019, 04:07:24 UTC, committed by Hsien Chang on 22 January 2019, 04:07:24 UTC
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 712db3e ("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.

This fix was backported from 4.20, see commit a1ad38a
https://kernel.googlesource.com/pub/scm/linux/kernel/git/mkp/scsi/+/a1ad38a61e34a67bce75c01702d056f051feaf04
1 parent 2c3c13d
History
File Mode Size
Documentation
arch
block
certs
crypto
debian
debian.master
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
spl
tools
ubuntu
usr
virt
zfs
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.4 KB
.mailmap -rw-r--r-- 8.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 427.1 KB
Makefile -rw-r--r-- 59.3 KB
README -rw-r--r-- 722 bytes
dropped.txt -rw-r--r-- 3.3 KB
snapcraft.yaml -rw-r--r-- 607 bytes

README

back to top