Skip to content

V2- ext4 block bitmap prefetch patches

Theodore Ts'o linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ext4: add prefetching for block allocation bitmapsfs/ext4/balloc.c fs/ext4/ext4.h fs/ext4/mballoc.c +1 more+153 -60 replies
2/4ext4: skip non-loaded groups at cr=0/1 when scanning for good groupsfs/ext4/mballoc.c+21 -11 reply
3/4ext4: indicate via a block bitmap read is prefetched via a tracepointfs/ext4/balloc.c include/trace/events/ext4.h+21 -50 replies
4/4ext4: add prefetch_block_bitmaps mount optionsfs/ext4/ext4.h fs/ext4/mballoc.c fs/ext4/super.c +1 more+105 -231 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchArtem BlagodarenkoAndreas Dilger
1/4R-b
2/4R-b R-b
3/4R-b
4/4R-b

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/4] V2- ext4 block bitmap prefetch patches

This is a second revision of Alex's original block allocation prefetch patches.

Changes are from v1:

*) We don't skip reading block bitmaps in the first block group of a flex_bg. This is necessary so that strategy of biasing block allocations for metadata blocks (in particular, extent tree blocks) can be preserved.

*) The prefetch_block_bitmaps mount option now will prefetch the block bitmaps before starting lazy inode table initialization, instead of the other way around. In general, for freshly created file systems, prefetching block bitmaps will go very quickly, since most block groups have not been used yet, so we don't actually the prefetch those block bitmaps.

*) Other minor spelling fixups, cleanups.

Alex Zhuravlev (2):
ext4: add prefetching for block allocation bitmaps
ext4: skip non-loaded groups at cr=0/1 when scanning for good groups

Theodore Ts'o (2):
ext4: indicate via a block bitmap read is prefetched via a tracepoint
ext4: add prefetch_block_bitmaps mount options

 fs/ext4/balloc.c            |  16 +++-
 fs/ext4/ext4.h              |  23 +++++-
 fs/ext4/mballoc.c           | 153 +++++++++++++++++++++++++++++++++++-
 fs/ext4/super.c             |  59 ++++++++++----
 fs/ext4/sysfs.c             |   4 +
 include/trace/events/ext4.h |  68 +++++++++++++++-
 6 files changed, 294 insertions(+), 29 deletions(-)
Signature · 1 line
2.24.1