]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: fix failing CUIR assignment under LPAR
authorStefan Haberland <sth@linux.vnet.ibm.com>
Tue, 9 Aug 2016 13:58:48 +0000 (15:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 11 Aug 2016 07:29:14 +0000 (09:29 +0200)
commitaf7752106e4f12b4ee47b4eca3e7ba4bcec6e7e5
treeb2a576c4338d47658886d3263a6d7e6983bcba70
parent4d81aaa53c2dea220ddf88e19c33033d6cf4f8cb
s390/dasd: fix failing CUIR assignment under LPAR

On LPAR the read message buffer command should be executed on the path
it was received on otherwise there is a chance that the CUIR assignment
might be faulty and the wrong channel path is set online/offline.

Fix by setting the path mask accordingly.
On z/VM we might not be able to do I/O on this path but there it does
not matter on which path the read message buffer command is executed.
Therefor implement a retry with an open path mask.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
drivers/s390/block/dasd_eckd.c