From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Ming Lei To: Jens Axboe Cc: linux-block@vger.kernel.org, Ming Lei , Kashyap Desai , Laurence Oberman , Omar Sandoval , Christoph Hellwig , Bart Van Assche , Hannes Reinecke Subject: [PATCH V3 0/3] blk-mq: improve IO perf in case of none io sched Date: Mon, 2 Jul 2018 17:35:57 +0800 Message-Id: <20180702093600.10315-1-ming.lei@redhat.com> List-ID: Hi, The 1st 2 patch improves ctx->lock uses, and it is observed that IOPS may be improved by ~5% in rand IO test on MegaRaid SAS run by Kashyap. The 3rd patch fixes rand IO performance regression on MegaRaid SAS test, still reported by Kashyap. V3: - export dispatch busy from debugfs as suggested by Jens - add comment on blk_mq_update_hctx_busy() as suggested by Christoph V2: - fix list corruption in patch 1/3 Ming Lei (3): blk-mq: use list_splice_tail_init() to insert requests blk-mq: only attempt to merge bio if there is rq in sw queue blk-mq: dequeue request one by one from sw queue iff hctx is busy block/blk-mq-debugfs.c | 9 +++++++++ block/blk-mq-sched.c | 14 ++++---------- block/blk-mq.c | 44 ++++++++++++++++++++++++++++++++++++-------- include/linux/blk-mq.h | 3 ++- 4 files changed, 51 insertions(+), 19 deletions(-) Cc: Kashyap Desai Cc: Laurence Oberman Cc: Omar Sandoval Cc: Christoph Hellwig Cc: Bart Van Assche Cc: Hannes Reinecke -- 2.9.5