mbox series

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

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

Message

Brian Foster Oct. 12, 2021, 4:51 p.m. UTC
v2:
- 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

Dave Chinner Oct. 12, 2021, 9:26 p.m. UTC | #1
On Tue, Oct 12, 2021 at 12:51:59PM -0400, Brian Foster wrote:
> v2:
> - 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

Looks good now. For the entire series:

Reviewed-by: Dave Chinner <dchinner@redhat.com>

Cheers,

Dave.