mbox series

[v3,0/4] xfs: fix perag iteration raciness

Message ID 20211014175902.1519172-1-bfoster@redhat.com (mailing list archive)
Headers show
Series xfs: fix perag iteration raciness | expand

Message

Brian Foster Oct. 14, 2021, 5:58 p.m. UTC
v3:
- Code style, Fixes: and RvB: tags.
v2: https://lore.kernel.org/linux-xfs/20211012165203.1354826-1-bfoster@redhat.com/
- Factoring and patch granularity.
v1: https://lore.kernel.org/linux-xfs/20211007125053.1096868-1-bfoster@redhat.com/

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(-)

Comments

Darrick J. Wong Oct. 14, 2021, 8:16 p.m. UTC | #1
On Thu, Oct 14, 2021 at 01:58:58PM -0400, Brian Foster wrote:
> v3:
> - Code style, Fixes: and RvB: tags.
> v2: https://lore.kernel.org/linux-xfs/20211012165203.1354826-1-bfoster@redhat.com/
> - Factoring and patch granularity.
> v1: https://lore.kernel.org/linux-xfs/20211007125053.1096868-1-bfoster@redhat.com/

Applied, thanks!

--D

> 
> 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(-)
> 
> -- 
> 2.31.1
>