block: trace all devices plug operation
authorJianpeng Ma <majianpeng@gmail.com>
Wed, 11 Sep 2013 19:21:07 +0000 (13:21 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:53 +0000 (12:54 -0600)
commitce92d120428036a93f5f5578b8bb50c92009f14e
tree849ec6dddd753577b51053b569de16b27ec279e0
parent42b230cf7643c60c36628071a6b9fb2046678315
block: trace all devices plug operation

In func blk_queue_bio, if list of plug is empty,it will call
blk_trace_plug.
If process deal with a single device,it't ok.But if process deal with
multi devices,it only trace the first device.
Using request_count to judge, it can soleve this problem.

In addition, i modify the comment.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c