s390/dasd: check for availability of prefix command during format
authorStefan Haberland <stefan.haberland@de.ibm.com>
Wed, 9 Oct 2013 12:30:08 +0000 (14:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Oct 2013 11:47:58 +0000 (13:47 +0200)
commit18d6624ec5e628fa35e46a5d69abfce3d5fea363
tree95dc91b499c1ca40ee1978dcf6c6b7148f750812
parentaf0ebc40a81c694ad25f034383c13a233c4a2f55
s390/dasd: check for availability of prefix command during format

The prefix command is used instead of a define extent to make use of
PAV alias devices during format. On some older storage servers the
prefix command may not be available and the IO request will fail.
Check for availability of prefix command and use define extent if
not available.

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