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@xxxxxxxxxxxxxxxxx/ 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(-) -- 2.27.0