linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v2 0/2] block, iomap: disable iopoll for split bio
@ 2020-10-15  7:40 Jeffle Xu
  2020-10-15  7:40 ` [v2 1/2] block: " Jeffle Xu
  2020-10-15  7:40 ` [v2 2/2] block,iomap: disable iopoll when split needed Jeffle Xu
  0 siblings, 2 replies; 6+ messages in thread
From: Jeffle Xu @ 2020-10-15  7:40 UTC (permalink / raw)
  To: axboe, hch, viro
  Cc: linux-fsdevel, linux-block, ming.lei, joseph.qi, xiaoguang.wang

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

-- 
2.27.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-15  8:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15  7:40 [v2 0/2] block, iomap: disable iopoll for split bio Jeffle Xu
2020-10-15  7:40 ` [v2 1/2] block: " Jeffle Xu
2020-10-15  7:58   ` Christoph Hellwig
2020-10-15  7:40 ` [v2 2/2] block,iomap: disable iopoll when split needed Jeffle Xu
2020-10-15  7:59   ` Christoph Hellwig
2020-10-15  8:47     ` JeffleXu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).