X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=block%2Fblk-core.c;h=2eb722d48773cb8a8de49d58b934eed830755da7;hb=d5a63a868b264ef7cf8b39394f9ab09391633a50;hp=60912e983f16a071458b25baa4eccc2e21769bd5;hpb=d9241b22b58e012f26dd2244508d9f4837402af0;p=cascardo%2Flinux.git diff --git a/block/blk-core.c b/block/blk-core.c index 60912e983f16..2eb722d48773 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1888,8 +1888,8 @@ generic_make_request_checks(struct bio *bio) */ create_io_context(GFP_ATOMIC, q->node); - if (blk_throtl_bio(q, bio)) - return false; /* throttled, will be resubmitted later */ + if (!blkcg_bio_issue_check(q, bio)) + return false; trace_block_bio_queue(q, bio); return true;