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. Ming Lei (3): blk-mq: use list_splice_tail() 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-sched.c | 14 ++++---------- block/blk-mq.c | 38 ++++++++++++++++++++++++++++++-------- include/linux/blk-mq.h | 1 + 3 files changed, 35 insertions(+), 18 deletions(-) Cc: Kashyap Desai <kashyap.desai@xxxxxxxxxxxx> Cc: Laurence Oberman <loberman@xxxxxxxxxx> Cc: Omar Sandoval <osandov@xxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Bart Van Assche <bart.vanassche@xxxxxxx> Cc: Hannes Reinecke <hare@xxxxxxx> -- 2.9.5