commit | 7652113c2f508b1c8176640dcd034730fe79bc48 | [log] [tgz] |
---|---|---|
author | Mike Christie <michaelc@cs.wisc.edu> | Wed Sep 18 08:33:55 2013 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Sep 18 08:33:55 2013 -0600 |
tree | 826a32d8341f9747f997db6715f6cb4a802d618a | |
parent | adbe6991efd36104ac9eaf751993d35eaa7f493a [diff] |
If the queue is dying then we only call the rq->end_io callout. This leaves bios setup on the request, because the caller assumes when the blk_execute_rq_nowait/blk_execute_rq call has completed that the rq->bios have been cleaned up. This patch has blk_execute_rq_nowait use __blk_end_request_all to free bios and also call rq->end_io. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Jens Axboe <axboe@kernel.dk>