[S390] dasd: correct offline processing
authorStefan Haberland <stefan.haberland@de.ibm.com>
Fri, 26 Feb 2010 21:37:48 +0000 (22:37 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 26 Feb 2010 21:37:32 +0000 (22:37 +0100)
commitb695adfaa118fd7c50eca8990e348dd7372ee0aa
treefeaa24ac072741256220f039fc2e22c27fe7f8b6
parent589c74d5076dd1bde13a5a36d97ca79be8bd72b2
[S390] dasd: correct offline processing

Flushing the dasd ccw request queue may stop the processing of the
block device request queue. Destroy partitions may wait for
outstanding requests and thus hang.
Swapping dasd_destroy_partitions and dasd_flush_request_queue so that
the request queue is empty before dasd_destroy_partitions is called.

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