Skip to content

Block: Give option to force io polling

Jon Derrick linux-block linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: add queue flag to always pollblock/blk-core.c fs/direct-io.c include/linux/blkdev.h+16 -11 reply
1/2block: add queue flag to always poll+0 -00 replies
2/2block: add forced polling sysfs controlsblock/blk-sysfs.c+38 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen Bates
SeriesR-b T-b
1/2
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Block: Give option to force io polling

In 4.6, enabling io polling in direct-io was switched to a per-io flag. This had an unintended result of giving a significant difference when doing benchmarks between 4.5 and 4.6, using fio's sync engine.

I was able to regain the performance by getting the pvsync2 engine working with the new p{read,write}v2 syscalls, but this patchset allows polling to be tried in the direct-io path with the other syscalls.

Rather than having to convert applications to prwv2 syscalls, users can enable this knob that let's them see the same performance as they may have seen in 4.5 when it always polled.

Jon Derrick (2):
block: add queue flag to always poll
block: add forced polling sysfs controls

 block/blk-core.c       |  8 ++++++++
 block/blk-sysfs.c      | 38 ++++++++++++++++++++++++++++++++++++++
 fs/direct-io.c         |  7 ++++++-
 include/linux/blkdev.h |  2 ++
 4 files changed, 54 insertions(+), 1 deletion(-)
Signature · 1 line
2.5.0