aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorStefan Haberland <[email protected]>2021-03-05 13:54:38 +0100
committerJens Axboe <[email protected]>2021-03-05 11:30:17 -0700
commit7d365bd0bff3c0310c39ebaffc9a8458e036d666 (patch)
tree97bd3c6dbeb33565c6f0f4455456c7492cbcdac4 /lib/mpi/mpiutil.c
parent56887cffe946bb0a90c74429fa94d6110a73119d (diff)
s390/dasd: fix hanging DASD driver unbind
In case of an unbind of the DASD device driver the function dasd_generic_remove() is called which shuts down the device. Among others this functions removes the int_handler from the cdev. During shutdown the device cancels all outstanding IO requests and waits for completion of the clear request. Unfortunately the clear interrupt will never be received when there is no interrupt handler connected. Fix by moving the int_handler removal after the call to the state machine where no request or interrupt is outstanding. Cc: [email protected] Signed-off-by: Stefan Haberland <[email protected]> Tested-by: Bjoern Walk <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions