Skip to content

Enable polling on stackable devices

Andrzej Jakowski linux-block linux-raid 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- 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)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: reintroduce polling on bio levelblock/blk-core.c block/blk-mq.c block/blk-mq.h +1 more+34 -210 replies
2/2md: enable io pollingdrivers/md/md.c+36 -47 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Enable polling on stackable devices

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/[email protected]/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(-)
Signature · 1 line
2.20.1