]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: avoid excessive path-verification requests
authorVineeth Vijayan <vneethv@linux.ibm.com>
Fri, 10 Sep 2021 11:45:24 +0000 (13:45 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 27 Sep 2021 11:54:38 +0000 (13:54 +0200)
commit172da89ed0eaf9d9348f5decb86ad04c624b39d1
treeeb2b3cdb8e1890633dde2a354b97b236b80178cd
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29
s390/cio: avoid excessive path-verification requests

Currently when removing a device from cio_ignore list, we trigger a
path-verification for all the subchannels available in the system. This
could lead to path-verification requests on subchannels with an online
device, which could cause unwanted delay. Instead of all the
subchannels, trigger the path-verifications to those without an online
device.

Reported-by: Julian Wiedmann <jwi@linux.ibm.com>
Fixes: 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/blacklist.c
drivers/s390/cio/css.c
drivers/s390/cio/css.h