diff --git a/block/blk-core.c b/block/blk-core.c index 6403c12f8aad8e594c65b75ede2a589b1093adf7..ea70e6c80cd34f0c2b563ceabcc7189027fc5182 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1387,8 +1387,10 @@ void blk_queue_bio(struct request_queue *q, struct bio *bio) if (__rq->q != q) plug->should_sort = 1; } - if (request_count >= BLK_MAX_REQUEST_COUNT) + if (request_count >= BLK_MAX_REQUEST_COUNT) { blk_flush_plug_list(plug, false); + trace_block_plug(q); + } } list_add_tail(&req->queuelist, &plug->list); drive_stat_acct(req, 1);