X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=block%2Fblk-core.c;h=2eb722d48773cb8a8de49d58b934eed830755da7;hb=d25ed277fbd4c20247286fda2014ae6a2b88316b;hp=60912e983f16a071458b25baa4eccc2e21769bd5;hpb=949feacb8af3659037dd34ef177e9bc727627859;p=deliverable%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;