[S390] dasd: Use the new async framework for autoonlining.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 14 Apr 2009 13:36:23 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:37:25 +0000 (15:37 +0200)
commitf3445a1a656bc26b07946cc6d20de1ef07c8d116
tree5ef9f40b00ac142d7f7c5cf0bdab77998a319165
parent75cb71f3184f3dd5b78d991d5e0e047774865f5d
[S390] dasd: Use the new async framework for autoonlining.

The dasd driver can automatically online detected dasds, which
especially important for finding the root device. Currently,
it will wait for each online operation to finish individually,
which may take long if many dasds need to be onlined. When using
the new async framework, these onlining operations can run in
parallel and presence of the root device is ensured by the fact
that prepare_namespace() waits for all async threads to finish.

Signed-off-by: Cornelia Huck <cornelia.huck@de.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.c