commit | 8ba61435d73f2274e12d4d823fde06735e8f6a54 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Dec 14 00:33:37 2011 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Dec 14 00:33:37 2011 +0100 |
tree | 4b63993dc0fdc26918bd990fb47a142b8d24ef80 | |
parent | 481a7d64790cd7ca61a8bbcbd9d017ce58e6fe39 [diff] |
block: add missing blk_queue_dead() checks blk_insert_cloned_request(), blk_execute_rq_nowait() and blk_flush_plug_list() either didn't check whether the queue was dead or did it without holding queue_lock. Update them so that dead state is checked while holding queue_lock. AFAICS, this plugs all holes (requeue doesn't matter as the request is transitioning atomically from in_flight to queued). Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>