Block: Give option to force io polling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: add queue flag to always pollblock/ fs/ include/ | +16 | 1 reply | |
| 1/2 | block: add queue flag to always poll | +0 | 0 replies | |
| 2/2 | block: add forced polling sysfs controlsblock/ | +38 | 0 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.
| Patch | Stephen Bates |
|---|---|
| Series | R-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.
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