Skip to content

loop: improve dio on backing file

Ming Lei linux-block oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8loop: move flush_dcache_page to ->complete of requestdrivers/block/loop.c+13 -21 reply
2/8loop: remove always true checkdrivers/block/loop.c+4 -61 reply
3/8loop: add one helper for submitting IO on backing filedrivers/block/loop.c+9 -40 replies
4/8loop: cover simple read/write via lo_rw_aio()drivers/block/loop.c drivers/block/loop.h+18 -661 reply
5/8loop: fallback to buffered IO in case of dio submissiondrivers/block/loop.c+7 -11 reply
6/8loop: relax loop dio use conditiondrivers/block/loop.c+1 -351 reply
7/8loop: remove lo->use_diodrivers/block/loop.c drivers/block/loop.h+5 -80 replies
8/8loop: use backing dio at defaultdrivers/block/loop.c+2 -70 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/8R-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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/8] loop: improve dio on backing file

Hello,

Improve dio on backing file:

1) cover simple read/write via aio style(lo_rw_aio)

2) fallback to buffered io in case of dio failure

3) relax dio use condition and not check if lo->lo_offset & loop queue's bs is aligned with backing queue

4) enable backing dio at default(RFC)

Ming Lei (8):
loop: move flush_dcache_page to ->complete of request
loop: remove always true check
loop: add one helper for submitting IO on backing file
loop: cover simple read/write via lo_rw_aio()
loop: fallback to buffered IO in case of dio submission
loop: relax loop dio use condition
loop: remove lo->use_dio
loop: use backing dio at default

 drivers/block/loop.c | 182 +++++++++++++------------------------------
 drivers/block/loop.h |   2 +-
 2 files changed, 57 insertions(+), 127 deletions(-)
Signature · 1 line
2.31.1