Skip to content

xfs: fix perag iteration raciness

Brian Foster linux-xfs 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyApplied
  2. v24 patches 9 repliesSuperseded
  3. v13 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Code style, Fixes: and RvB: tags.
v2: https://lore.kernel.org/linux-xfs/[email protected]/
- Factoring and patch granularity.
v1: https://lore.kernel.org/linux-xfs/[email protected]/

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4xfs: fold perag loop iteration logic into helper functionfs/xfs/libxfs/xfs_ag.h+13 -30 replies
2/4xfs: rename the next_agno perag iteration variablefs/xfs/libxfs/xfs_ag.h+9 -90 replies
3/4xfs: terminate perag iteration reliably on agcountfs/xfs/libxfs/xfs_ag.h+1 -10 replies
4/4xfs: fix perag reference leak on iteration race with growfsfs/xfs/libxfs/xfs_ag.h+6 -100 replies

Reviews trailers per patch

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

PatchDave ChinnerDarrick J. Wong
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] xfs: fix perag iteration raciness

v3:
- Code style, Fixes: and RvB: tags.
v2: https://lore.kernel.org/linux-xfs/[email protected]/
- Factoring and patch granularity.
v1: https://lore.kernel.org/linux-xfs/[email protected]/

Brian Foster (4):
xfs: fold perag loop iteration logic into helper function
xfs: rename the next_agno perag iteration variable
xfs: terminate perag iteration reliably on agcount
xfs: fix perag reference leak on iteration race with growfs

 fs/xfs/libxfs/xfs_ag.h | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)
Signature · 1 line
2.31.1