]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: fix invalid PAV assignment after suspend/resume
authorStefan Haberland <stefan.haberland@de.ibm.com>
Thu, 15 Oct 2015 11:54:39 +0000 (13:54 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 3 Nov 2015 13:40:46 +0000 (14:40 +0100)
commit79496c797d2c6ebc7542889ff7c977b03761ed54
treec1a3ba142c40d225d238e2ae28ada7b146e230e9
parentb4109e4341c1d48cdbcd1743dd3ef0e0921e0d94
s390/dasd: fix invalid PAV assignment after suspend/resume

For a valid PAV assignment the DASD driver needs to notice possibly
changed configuration data. Thus the failing of read configuration
data should also fail the device restore to prevent invalid PAV
assignment. The failed device may get restored after additional paths
get available later on.
If the restore fails after the device was added to the lcu alias
handling it needs to be removed from the alias handling before exiting
the restore function.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_eckd.c