linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, Ming Lei <ming.lei@redhat.com>,
	Christoph Hellwig <hch@lst.de>
Subject: [PATCH V3 0/4] blk-mq: queue mapping fix & improvement
Date: Mon, 17 Dec 2018 20:08:41 +0800	[thread overview]
Message-ID: <20181217120844.8131-1-ming.lei@redhat.com> (raw)

Hi,

The 1st patch fixes allocation for queue mapping table.

The 2nd patch exports hctx->type in debugfs, so that we can write
debugfs based test for verifying if queue mapping is valid.

The 3rd patch fixes dispatch from sw queue when there is either
write queue or poll queue.


V3:
	- drop the original 2nd patch, which can be done by hch's two
	patches
	- add changelog on patch3

V2:
	- remove hctx->type export from sysfs
	- take hch's patch to fix shared queue mapping
	- add the patch 3

Ming Lei (3):
  blk-mq: fix allocation for queue mapping table
  blk-mq: export hctx->type in debugfs instead of sysfs
  blk-mq: fix dispatch from sw queue

 block/blk-mq-debugfs.c | 85 ++++++++++++++++++++++++++++++++------------------
 block/blk-mq-sched.c   | 23 +++++++++-----
 block/blk-mq-sysfs.c   | 17 ----------
 block/blk-mq.c         | 54 +++++++++++++++++++-------------
 block/blk-mq.h         | 10 +++---
 5 files changed, 108 insertions(+), 81 deletions(-)

Cc: Christoph Hellwig <hch@lst.de>

-- 
2.9.5


             reply	other threads:[~2018-12-17 12:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 12:08 Ming Lei [this message]
2018-12-17 12:08 ` [PATCH V3 1/3] blk-mq: fix allocation for queue mapping table Ming Lei
2018-12-17 12:08 ` [PATCH V3 2/3] blk-mq: export hctx->type in debugfs instead of sysfs Ming Lei
2018-12-17 12:08 ` [PATCH V3 3/3] blk-mq: fix dispatch from sw queue Ming Lei
2018-12-17 12:55   ` Jens Axboe
2018-12-17 13:29     ` Jens Axboe
2018-12-17 15:43       ` Jens Axboe
2018-12-17 12:56 ` [PATCH V3 0/4] blk-mq: queue mapping fix & improvement Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181217120844.8131-1-ming.lei@redhat.com \
    --to=ming.lei@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).