s390/blacklist: Perform subchannel scan only when needed
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Tue, 26 Nov 2013 14:00:37 +0000 (15:00 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:43 +0000 (14:37 +0100)
commite6b2551425d961e68e70e806e22ec40787f7ed67
treee1f259deec3a9d69bd13b82ab681b029e940b1e1
parent47d30674d6c79197fa7bfb0d09d5857f61e0277b
s390/blacklist: Perform subchannel scan only when needed

Move scheduling of a subchannel scan to those instances where new
devices may actually have become available. This reduces unnecessary
scan work in case devices were added to the blacklist.

Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/blacklist.c