Re: [PATCH] block: free bios when failing blk_execute_rq_nowait calls

2013-09-18 Thread Jens Axboe
On Wed, Sep 18 2013, micha...@cs.wisc.edu wrote: > From: Mike Christie > > 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 hav

[PATCH] block: free bios when failing blk_execute_rq_nowait calls

2013-09-18 Thread michaelc
From: Mike Christie 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