Re: [PATCH v5 01/12] blk-mq: pass correct hctx to blk_mq_try_issue_directly

2017-06-06 Thread Bart Van Assche
On Tue, 2017-06-06 at 23:21 +0800, Ming Lei wrote: > When direct issue is done on request picked up from plug list, > the hctx need to be updated with the actual hw queue, otherwise > wrong hctx is used and may hurt performance, especially when > wrong SRCU readlock is acquired/released

[PATCH v5 01/12] blk-mq: pass correct hctx to blk_mq_try_issue_directly

2017-06-06 Thread Ming Lei
When direct issue is done on request picked up from plug list, the hctx need to be updated with the actual hw queue, otherwise wrong hctx is used and may hurt performance, especially when wrong SRCU readlock is acquired/released Reported-by: Bart Van Assche