X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=block%2Fblk-core.c;h=2eb722d48773cb8a8de49d58b934eed830755da7;hb=5ee84ba8c7f5a5dd1934459acfec6108b5285940;hp=60912e983f16a071458b25baa4eccc2e21769bd5;hpb=bd779669945ed9982890da789ad32e3bd0d41f14;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;