Skip to content

Misc refactorings in XFS

[email protected] linux-xfs 2 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

1. Added RB from Christoph.
2. Fixed some styling/formatting issues in patch 1 and commit message of patch 2.

[1] https://lore.kernel.org/all/20250729202428.GE2672049@frogsfrogsfrogs/
[2] https://lore.kernel.org/all/[email protected]/
[v1] https://lore.kernel.org/all/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2xfs: Refactoring the nagcount and delta calculationfs/xfs/libxfs/xfs_ag.c fs/xfs/libxfs/xfs_ag.h fs/xfs/xfs_fsops.c+33 -150 replies
2/2xfs: Replace &rtg->rtg_group with rtg_group()fs/xfs/xfs_zone_alloc.c fs/xfs/xfs_zone_gc.c+8 -80 replies

Reviews trailers per patch

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

PatchDarrick J. WongChristoph Hellwig
1/2R-b R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Misc refactorings in XFS

From: "Nirjhar Roy (IBM)" <[email protected]>

This patchset contains 2 refactorings. Details are in the patches. Please note that Darrick's RB in patch 1 was given in [1]. There is a thread in lore where this series was partially sent[2] - please ignore that.

[v1] -> v2
1. Added RB from Christoph.
2. Fixed some styling/formatting issues in patch 1 and commit message of patch 2.

[1] https://lore.kernel.org/all/20250729202428.GE2672049@frogsfrogsfrogs/
[2] https://lore.kernel.org/all/[email protected]/
[v1] https://lore.kernel.org/all/[email protected]/

Nirjhar Roy (IBM) (2):
xfs: Refactoring the nagcount and delta calculation
xfs: Replace &rtg->rtg_group with rtg_group()

 fs/xfs/libxfs/xfs_ag.c  | 28 ++++++++++++++++++++++++++++
 fs/xfs/libxfs/xfs_ag.h  |  3 +++
 fs/xfs/xfs_fsops.c      | 17 ++---------------
 fs/xfs/xfs_zone_alloc.c |  6 +++---
 fs/xfs/xfs_zone_gc.c    | 10 +++++-----
 5 files changed, 41 insertions(+), 23 deletions(-)
Signature · 1 line
2.43.5