Re: [PATCH] xfs: perag initialization should only touch m_ag_max_usable for AG 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 19, 2017 at 11:10:41AM -0700, Darrick J. Wong wrote:
> We call __xfs_ag_resv_init to make a per-AG reservation for each AG.
> This makes the reservation per-AG, not per-filesystem.  Therefore, it
> is incorrect to adjust m_ag_max_usable for each AG.  Adjust it only
> when we're reserving AG 0's blocks so that we only do it once per fs.

This looks correct to me, but I hate how we manipulate a per-mount
value.  Is there a way we can just move this to the caller?
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux