Re: [PATCH v2 6/7] blk-mq: fix for trace_block_plug()

2015-10-20 Thread Jeff Moyer
Ming Lei writes: > The trace point is for tracing plug event of each request > queue instead of each task, so we should check the request > count in the plug list from current queue instead of > current task. > > Signed-off-by: Ming Lei Reviewed-by: Jeff Moyer > --- > block/blk-mq.c | 2 +- >

[PATCH v2 6/7] blk-mq: fix for trace_block_plug()

2015-10-20 Thread Ming Lei
The trace point is for tracing plug event of each request queue instead of each task, so we should check the request count in the plug list from current queue instead of current task. Signed-off-by: Ming Lei --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b