]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bff81ddd692158517445d95fa459a02fa43ca47
tree9a30b2dcb2db6ce065d0b1abee5b62045d770532
parent20b01c15b6957db92cf63db121d1fddb60ef5488
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