s390/dasd: fix read unit address configuration loop
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 11 Sep 2012 15:19:12 +0000 (17:19 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 17 Sep 2012 07:58:21 +0000 (09:58 +0200)
commit03429f34c22cedc3300a81e13d5790450cc468af
tree9a30b2dcb2db6ce065d0b1abee5b62045d770532
parent12d7b1078bb374fc3e2955b9f2815415a66157b6
s390/dasd: fix read unit address configuration loop

Read unit address is done for all devices during online processing to read
out LCU features. This is also done after disconnect/connect a LCU.
Some older storage hardware does not provide the capability to read unit
address configuration.
This leads to a loop trying to read unit address configuration every 30
seconds. The device is still operational but logs are flooded with error
messages.

Fix the loop by recognizing a command reject saying that the suborder
for ruac is not supported.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_alias.c