Skip to content

btrfs: fix periodic reclaim condition

Sun YangKai linux-btrfs 4 versions – Applied

Status from this message: Applied the series to for-next. Thanks again for the fix.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 5 repliesApplied
  2. v32 patches 3 repliesSuperseded
  3. v27 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches6 repliesSuperseded

Changes in v4 from the cover letter

- Remove setting periodic_reclaim_ready to false when failed to reclaim a blockgroup since it's unnecessary. Sugggested by Boris Burkov <[email protected]>

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2btrfs: fix periodic reclaim conditionfs/btrfs/block-group.c fs/btrfs/space-info.c+16 -113 replies
2/2btrfs: consolidate reclaim readiness checks in btrfs_should_reclaim()fs/btrfs/block-group.c+6 -61 reply

Reviews trailers per patch

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

PatchBoris BurkovJohannes Thumshirn
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] btrfs: fix periodic reclaim condition

This series eliminates wasteful periodic reclaim operations that were occurring when already failed to reclaim any new space, and includes several preparatory cleanups.

Patch 1 fixes the core issue.
Patch 2 is a trival cleanup.

Changelog

v4:
- Remove setting periodic_reclaim_ready to false when failed to reclaim a blockgroup since it's unnecessary. Sugggested by Boris Burkov <[email protected]>

v3:
- Fix the core issue with minimal changes, suggested by Boris Burkov <[email protected]>
- Drop some cleanups which might conflict with some other recent patches in mail list. I'll send them in a seperate serie.

Sun YangKai (2):
btrfs: fix periodic reclaim condition
btrfs: consolidate reclaim readiness checks in btrfs_should_reclaim()

 fs/btrfs/block-group.c | 18 ++++++++++--------
 fs/btrfs/space-info.c  | 21 ++++++++++++---------
 2 files changed, 22 insertions(+), 17 deletions(-)
Signature · 1 line
2.52.0