Skip to content

implement readpages() for block device to optimize sequential read

Akinobu Mita linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfs: make guard_bh_eod() more genericfs/buffer.c+12 -140 replies
2/3vfs: guard end of device for mpage interfacefs/buffer.c fs/internal.h fs/mpage.c+8 -10 replies
3/3block_dev: implement readpages() to optimize sequential readfs/block_dev.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] implement readpages() for block device to optimize sequential read

This patchset implements readpages() operation for block device by using mpage_readpages() which can create multipage BIOs instead of BIOs for each page and reduce system CPU time consumption.

Akinobu Mita (3):
vfs: make guard_bh_eod() more generic
vfs: guard end of device for mpage interface
block_dev: implement readpages() to optimize sequential read

 fs/block_dev.c |  7 +++++++
 fs/buffer.c    | 26 ++++++++++++--------------
 fs/internal.h  |  5 +++++
 fs/mpage.c     |  2 ++
 4 files changed, 26 insertions(+), 14 deletions(-)
Cc Andrew Morton <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Jeff Moyer <[email protected]>
Signature · 1 line
1.9.1