Files
linux/drivers
Jens Axboe 2d7c6b713f dm: fix deadlock with request based dm and queue request_fn recursion
commit a8c32a5c98 upstream.

Request based dm attempts to re-run the request queue off the
request completion path. If used with a driver that potentially does
end_io from its request_fn, we could deadlock trying to recurse
back into request dispatch. Fix this by punting the request queue
run to kblockd.

Tested to fix a quickly reproducible deadlock in such a scenario.

Acked-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-12-03 12:59:14 -08:00
..
2012-06-10 00:32:58 +09:00
2012-10-31 09:51:37 -07:00
2012-11-26 11:34:55 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-11-26 11:34:57 -08:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2011-11-21 14:31:14 -08:00
2012-10-02 09:47:27 -07:00