Skip to content

btrfs: fixes for reclaim

Naohiro Aota linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: delete unused BGs while reclaiming BGsfs/btrfs/block-group.c+14 -04 replies
2/4btrfs: move out now unused BG from the reclaim listfs/btrfs/block-group.c+4 -12 replies
3/4btrfs: bail out reclaim process if filesystem is read-onlyfs/btrfs/block-group.c+9 -22 replies
4/4btrfs: reinsert BGs failed to reclaimfs/btrfs/block-group.c+12 -14 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchFilipe MananaJohannes Thumshirn
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4

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] btrfs: fixes for reclaim

There are several issues on the reclaim process out there:

- Long-running reclaim process blocks removing unused BGs
- Belonging to the reclaim list blocks it goes to the unused list
- It tries relocation even when FS is read-only
- Temporal failure keep a block group un-reclaimed

This series fixes them.

Naohiro Aota (4):
btrfs: delete unused BGs while reclaiming BGs
btrfs: move out now unused BG from the reclaim list
btrfs: bail out reclaim process if filesystem is read-only
btrfs: reinsert BGs failed to reclaim

 fs/btrfs/block-group.c | 43 ++++++++++++++++++++++++++++++++++++++----
 1 file changed, 39 insertions(+), 4 deletions(-)
Signature · 1 line
2.40.1