From: Andrzej Jakowski <andrzej.jakowski@linux.intel.com>
To: axboe@kernel.dk, song@kernel.org
Cc: linux-block@vger.kernel.org, linux-raid@vger.kernel.org,
Andrzej Jakowski <andrzej.jakowski@linux.intel.com>
Subject: [PATCH v2 0/2] Enable polling on stackable devices
Date: Tue, 11 Feb 2020 12:17:27 -0700 [thread overview]
Message-ID: <20200211191729.4745-1-andrzej.jakowski@linux.intel.com> (raw)
Changes since v1:
- reintroduced original blk_poll() function that has been removed some time
ago (Jens)
- added fastpath calls to blk_mq_poll() in blk_poll() (Christoph, Jens)
- incorporated code style fixes into md patch (Christoph)
[1]: https://lore.kernel.org/linux-block/20200126044138.5066-1-andrzej.jakowski@linux.intel.com/T/#t
---
IO polling is available on blk-mq devices. It is not possible to perform IO
polling on stackable devices like MD.
In this patch series we propose to reintroduce blk_poll() function. blk_poll()
when called on stackable block device that supports polling will invoke its
polling handler. Otherwise it will call blk_mq_poll() directly for fast
accesses.
This patch set also includes example implemetation of polling on MD RAID-0
volume.
---
TODO:
- introduce REQ_NOWAIT support for stackable devices in a separate patchset
(Christoph)
Andrzej Jakowski (1):
block: reintroduce polling on bio level
Artur Paszkiewicz (1):
md: enable io polling
block/blk-core.c | 28 ++++++++++++++++++++++++++++
block/blk-mq.c | 23 ++---------------------
block/blk-mq.h | 2 ++
drivers/md/md.c | 40 ++++++++++++++++++++++++++++++++++++----
include/linux/blkdev.h | 2 ++
5 files changed, 70 insertions(+), 25 deletions(-)
--
2.20.1
next reply other threads:[~2020-02-11 19:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-11 19:17 Andrzej Jakowski [this message]
2020-02-11 19:17 ` [PATCH v2 1/2] block: reintroduce polling on bio level Andrzej Jakowski
2020-02-11 19:17 ` [PATCH v2 2/2] md: enable io polling Andrzej Jakowski
2020-02-11 21:13 ` Keith Busch
2020-02-12 21:00 ` Andrzej Jakowski
2020-02-12 21:42 ` Keith Busch
2020-02-13 20:19 ` Andrzej Jakowski
2020-02-14 19:25 ` Keith Busch
2020-02-21 15:25 ` Andrzej Jakowski
2020-02-21 16:34 ` Keith Busch
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=20200211191729.4745-1-andrzej.jakowski@linux.intel.com \
--to=andrzej.jakowski@linux.intel.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=song@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).