]> 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)
commita4d07131d2f05452a619edeaaffe3c78f234d634
treeeb2b3cdb8e1890633dde2a354b97b236b80178cd
parent875d56e13eab01967bd5d33adc78a50a61ab7b99
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: abc0177146ac ("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