From: Sagi Grimberg <sagi@grimberg.me> To: linux-nvme@lists.infradead.org, Christoph Hellwig <hch@lst.de>, Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org, Chao Leng <lengchao@huawei.com> Subject: [PATCH v3 0/2] improve quiesce time for large amount of namespaces Date: Sat, 25 Jul 2020 17:22:59 -0700 [thread overview] Message-ID: <20200726002301.145627-1-sagi@grimberg.me> (raw) This set attempts to improve the quiesce time when using a large set of namespaces, which also improves I/O failover time in a multipath environment. We improve for both non-blocking hctxs (e.g. pci, fc, rdma) and blocking hctxs (e.g. tcp) by splitting queue auiesce to async call_(s)rcu and async_wait to wait for it to complete. Changes from v2: - made blk_mq_quiesce_queue_async operate on both blocking and non-blocking hctxs. - removed separation between blocking vs. non-blocking queues - dropeed patch from Chao - dropped nvme-rdma test patch Changes from v1: - trivial typo fixes Sagi Grimberg (2): blk-mq: add async quiesce interface nvme: improve quiesce time for large amount of namespaces block/blk-mq.c | 32 ++++++++++++++++++++++++++++++++ drivers/nvme/host/core.c | 4 +++- include/linux/blk-mq.h | 4 ++++ 3 files changed, 39 insertions(+), 1 deletion(-) -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Sagi Grimberg <sagi@grimberg.me> To: linux-nvme@lists.infradead.org, Christoph Hellwig <hch@lst.de>, Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org, Chao Leng <lengchao@huawei.com> Subject: [PATCH v3 0/2] improve quiesce time for large amount of namespaces Date: Sat, 25 Jul 2020 17:22:59 -0700 [thread overview] Message-ID: <20200726002301.145627-1-sagi@grimberg.me> (raw) This set attempts to improve the quiesce time when using a large set of namespaces, which also improves I/O failover time in a multipath environment. We improve for both non-blocking hctxs (e.g. pci, fc, rdma) and blocking hctxs (e.g. tcp) by splitting queue auiesce to async call_(s)rcu and async_wait to wait for it to complete. Changes from v2: - made blk_mq_quiesce_queue_async operate on both blocking and non-blocking hctxs. - removed separation between blocking vs. non-blocking queues - dropeed patch from Chao - dropped nvme-rdma test patch Changes from v1: - trivial typo fixes Sagi Grimberg (2): blk-mq: add async quiesce interface nvme: improve quiesce time for large amount of namespaces block/blk-mq.c | 32 ++++++++++++++++++++++++++++++++ drivers/nvme/host/core.c | 4 +++- include/linux/blk-mq.h | 4 ++++ 3 files changed, 39 insertions(+), 1 deletion(-) -- 2.25.1 _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme
next reply other threads:[~2020-07-26 0:23 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-26 0:22 Sagi Grimberg [this message] 2020-07-26 0:22 ` [PATCH v3 0/2] improve quiesce time for large amount of namespaces Sagi Grimberg 2020-07-26 0:23 ` [PATCH v3 1/2] blk-mq: add async quiesce interface Sagi Grimberg 2020-07-26 0:23 ` Sagi Grimberg 2020-07-26 9:31 ` Ming Lei 2020-07-26 9:31 ` Ming Lei 2020-07-26 16:27 ` Sagi Grimberg 2020-07-26 16:27 ` Sagi Grimberg 2020-07-27 2:08 ` Ming Lei 2020-07-27 2:08 ` Ming Lei 2020-07-27 3:33 ` Chao Leng 2020-07-27 3:33 ` Chao Leng 2020-07-27 3:50 ` Ming Lei 2020-07-27 3:50 ` Ming Lei 2020-07-27 5:55 ` Chao Leng 2020-07-27 5:55 ` Chao Leng 2020-07-27 6:32 ` Ming Lei 2020-07-27 6:32 ` Ming Lei 2020-07-27 18:40 ` Sagi Grimberg 2020-07-27 18:40 ` Sagi Grimberg 2020-07-27 18:38 ` Sagi Grimberg 2020-07-27 18:38 ` Sagi Grimberg 2020-07-27 18:36 ` Sagi Grimberg 2020-07-27 18:36 ` Sagi Grimberg 2020-07-27 20:37 ` Jens Axboe 2020-07-27 20:37 ` Jens Axboe 2020-07-27 21:00 ` Sagi Grimberg 2020-07-27 21:00 ` Sagi Grimberg 2020-07-27 21:05 ` Jens Axboe 2020-07-27 21:05 ` Jens Axboe 2020-07-27 21:21 ` Keith Busch 2020-07-27 21:21 ` Keith Busch 2020-07-27 21:30 ` Jens Axboe 2020-07-27 21:30 ` Jens Axboe 2020-07-28 1:09 ` Ming Lei 2020-07-28 1:09 ` Ming Lei 2020-07-26 0:23 ` [PATCH v3 2/2] nvme: improve quiesce time for large amount of namespaces Sagi Grimberg 2020-07-26 0:23 ` Sagi Grimberg
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=20200726002301.145627-1-sagi@grimberg.me \ --to=sagi@grimberg.me \ --cc=axboe@kernel.dk \ --cc=hch@lst.de \ --cc=kbusch@kernel.org \ --cc=lengchao@huawei.com \ --cc=linux-block@vger.kernel.org \ --cc=linux-nvme@lists.infradead.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.