aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback/common.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-02-11 08:27:14 -0800
committerJens Axboe <axboe@fb.com>2014-02-11 09:34:08 -0700
commit49f5baa5109897b8cee491e8a7c4d74052b6bc1e (patch)
tree9e0cf5285be207bde015af948e8fd7b89760ffcd /drivers/block/xen-blkback/common.h
parentblk-mq: dont assume rq->errors is set when returning an error from ->queue_rq (diff)
downloadlinux-dev-49f5baa5109897b8cee491e8a7c4d74052b6bc1e.tar.xz
linux-dev-49f5baa5109897b8cee491e8a7c4d74052b6bc1e.zip
blk-mq: pair blk_mq_start_request / blk_mq_requeue_request
Make sure we have a proper pairing between starting and requeueing requests. Move the dma drain and REQ_END setup into blk_mq_start_request, and make sure blk_mq_requeue_request properly undoes them, giving us a pair of function to prepare and unprepare a request without leaving side effects. Together this ensures we always clean up properly after BLK_MQ_RQ_QUEUE_BUSY returns from ->queue_rq. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/xen-blkback/common.h')
0 files changed, 0 insertions, 0 deletions