Skip to content

btrfs: make extent map shrinker more efficient and re-enable it

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: add and use helper to remove extent map from its inode's treefs/btrfs/extent_map.c+7 -111 reply
2/5btrfs: make the extent map shrinker run asynchronously as a work queue jobfs/btrfs/disk-io.c fs/btrfs/extent_map.c fs/btrfs/extent_map.h +2 more+52 -196 replies
3/5btrfs: simplify tracking progress for the extent map shrinkerfs/btrfs/disk-io.c fs/btrfs/extent_map.c fs/btrfs/fs.h +1 more+22 -570 replies
4/5btrfs: rename extent map shrinker members from struct btrfs_fs_infofs/btrfs/disk-io.c fs/btrfs/extent_map.c fs/btrfs/fs.h +1 more+26 -260 replies
5/5btrfs: re-enable the extent map shrinkerfs/btrfs/super.c+1 -73 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchQu WenruoJosef Bacik
SeriesR-b
1/5R-b
2/5
3/5
4/5
5/5

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/5] btrfs: make extent map shrinker more efficient and re-enable it

From: Filipe Manana <[email protected]>

This makes the extent map shrinker run by a single task and asynchronously in a work queue, re-enables it by default and some cleanups. More details in the changelogs of each patch.

Filipe Manana (5):
btrfs: add and use helper to remove extent map from its inode's tree
btrfs: make the extent map shrinker run asynchronously as a work queue job
btrfs: simplify tracking progress for the extent map shrinker
btrfs: rename extent map shrinker members from struct btrfs_fs_info
btrfs: re-enable the extent map shrinker

 fs/btrfs/disk-io.c           |   4 +-
 fs/btrfs/extent_map.c        | 122 +++++++++++++++++------------------
 fs/btrfs/extent_map.h        |   3 +-
 fs/btrfs/fs.h                |   7 +-
 fs/btrfs/super.c             |  21 ++----
 include/trace/events/btrfs.h |  21 +++---
 6 files changed, 83 insertions(+), 95 deletions(-)
Signature · 1 line
2.43.0