linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] loop: improve dio on backing file
@ 2021-10-25  9:44 Ming Lei
  2021-10-25  9:44 ` [PATCH 1/8] loop: move flush_dcache_page to ->complete of request Ming Lei
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Ming Lei @ 2021-10-25  9:44 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Ming Lei

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

-- 
2.31.1


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

end of thread, other threads:[~2021-10-27  0:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25  9:44 [PATCH 0/8] loop: improve dio on backing file Ming Lei
2021-10-25  9:44 ` [PATCH 1/8] loop: move flush_dcache_page to ->complete of request Ming Lei
2021-10-26  7:21   ` Christoph Hellwig
2021-10-25  9:44 ` [PATCH 2/8] loop: remove always true check Ming Lei
2021-10-26  7:31   ` Christoph Hellwig
2021-10-25  9:44 ` [PATCH 3/8] loop: add one helper for submitting IO on backing file Ming Lei
2021-10-25  9:44 ` [PATCH 4/8] loop: cover simple read/write via lo_rw_aio() Ming Lei
2021-10-26  7:35   ` Christoph Hellwig
2021-10-25  9:44 ` [PATCH 5/8] loop: fallback to buffered IO in case of dio submission Ming Lei
2021-10-26  7:36   ` Christoph Hellwig
2021-10-25  9:44 ` [PATCH 6/8] loop: relax loop dio use condition Ming Lei
2021-10-26  7:37   ` Christoph Hellwig
2021-10-27  0:20   ` kernel test robot
2021-10-25  9:44 ` [PATCH 7/8] loop: remove lo->use_dio Ming Lei
2021-10-25  9:44 ` [RFC PATCH 8/8] loop: use backing dio at default Ming Lei

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