mbox series

[v2,0/2] block, iomap: disable iopoll for split bio

Message ID 20201015074031.91380-1-jefflexu@linux.alibaba.com (mailing list archive)
Headers show
Series block, iomap: disable iopoll for split bio | expand

Message

Jingbo Xu Oct. 15, 2020, 7:40 a.m. UTC
This patchset is to fix the potential hang occured in sync polling.

Please refer the following link for background info and the v1 patch:
https://patchwork.kernel.org/project/linux-block/patch/20201013084051.27255-1-jefflexu@linux.alibaba.com/

The first patch disables iopoll for split bio in block layer, which is
suggested by Ming Lei.

The second patch disables iopoll when one IO request need to be split into
multiple bios.

changes since v1:
- adopt the fix suggested by Ming Lei, to disable iopoll for split bio directly
- disable iopoll in direct IO routine of blkdev fs and iomap


Jeffle Xu (2):
  block: disable iopoll for split bio
  block,iomap: disable iopoll when split needed

 block/blk-merge.c    | 16 ++++++++++++++++
 fs/block_dev.c       |  7 +++++++
 fs/iomap/direct-io.c |  9 ++++++++-
 3 files changed, 31 insertions(+), 1 deletion(-)