summaryrefslogtreecommitdiff
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-01-18 07:06:59 +0300
committerJens Axboe <axboe@kernel.dk>2018-01-18 07:38:52 +0300
commit23d4ee19e789ae3dce3e04bd24e3d1537965475f (patch)
treece2feb7137e252bc89dfcd3c00f2f99ea5e0f15f /fs/btrfs/async-thread.h
parentde99a346884f019387230bc549de74456daca248 (diff)
downloadlinux-23d4ee19e789ae3dce3e04bd24e3d1537965475f.tar.xz
blk-mq: don't dispatch request in blk_mq_request_direct_issue if queue is busy
If we run into blk_mq_request_direct_issue(), when queue is busy, we don't want to dispatch this request into hctx->dispatch_list, and what we need to do is to return the queue busy info to caller, so that caller can deal with it well. Fixes: 396eaf21ee ("blk-mq: improve DM's blk-mq IO merging via blk_insert_cloned_request feedback") Reported-by: Laurence Oberman <loberman@redhat.com> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions