diff options
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index c04505358342..0a00e4ecf87c 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1549,11 +1549,9 @@ get_rq: | |||
1549 | if (plug) { | 1549 | if (plug) { |
1550 | /* | 1550 | /* |
1551 | * If this is the first request added after a plug, fire | 1551 | * If this is the first request added after a plug, fire |
1552 | * of a plug trace. If others have been added before, check | 1552 | * of a plug trace. |
1553 | * if we have multiple devices in this plug. If so, make a | ||
1554 | * note to sort the list before dispatch. | ||
1555 | */ | 1553 | */ |
1556 | if (list_empty(&plug->list)) | 1554 | if (!request_count) |
1557 | trace_block_plug(q); | 1555 | trace_block_plug(q); |
1558 | else { | 1556 | else { |
1559 | if (request_count >= BLK_MAX_REQUEST_COUNT) { | 1557 | if (request_count >= BLK_MAX_REQUEST_COUNT) { |