diff options
author | Ming Lei <ming.lei@redhat.com> | 2018-01-18 05:06:59 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-18 05:38:52 +0100 |
commit | 23d4ee19e789ae3dce3e04bd24e3d1537965475f (patch) | |
tree | ce2feb7137e252bc89dfcd3c00f2f99ea5e0f15f /fs/dcookies.c | |
parent | block: Fix __bio_integrity_endio() documentation (diff) | |
download | linux-23d4ee19e789ae3dce3e04bd24e3d1537965475f.tar.xz linux-23d4ee19e789ae3dce3e04bd24e3d1537965475f.zip |
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/dcookies.c')
0 files changed, 0 insertions, 0 deletions