Skip to content

btrfs: some fixes around automatic block group reclaim

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: get zone unusable bytes while holding lock at btrfs_reclaim_bgs_work()fs/btrfs/block-group.c+11 -71 reply
2/3btrfs: get used bytes while holding lock at btrfs_reclaim_bgs_work()fs/btrfs/block-group.c+16 -50 replies
3/3btrfs: fix reclaimed bytes accounting after automatic block group reclaimfs/btrfs/block-group.c+21 -70 replies

Reviews trailers per patch

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

PatchJohannes ThumshirnDavid Sterba
SeriesR-b
1/3R-b
2/3
3/3

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/3] btrfs: some fixes around automatic block group reclaim

From: Filipe Manana <[email protected]>

Fix a couple races that should be mostly harmless but trigger KCSAN warnings and fix the accounting of reclaimed bytes. More details in the change logs.

Filipe Manana (3):
btrfs: get zone unusable bytes while holding lock at btrfs_reclaim_bgs_work()
btrfs: get used bytes while holding lock at btrfs_reclaim_bgs_work()
btrfs: fix reclaimed bytes accounting after automatic block group reclaim

 fs/btrfs/block-group.c | 55 ++++++++++++++++++++++++++++++++----------
 1 file changed, 42 insertions(+), 13 deletions(-)
Signature · 1 line
2.45.2