]> git.baikalelectronics.ru Git - kernel.git/commit
If the queue is dying then we only call the rq->end_io callout.
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 18 Sep 2013 14:33:55 +0000 (08:33 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Sep 2013 14:33:55 +0000 (08:33 -0600)
commit22005f798bc51f651a9e334f1c010351d5ec0e51
tree826a32d8341f9747f997db6715f6cb4a802d618a
parentd852200017f621d952c32742639006672fc8e188
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>
block/blk-exec.c