Re: [PATCH 7/7] xfs: factor out code to find the longest free extent in the AG

Dave Chinner
2009-03-15T07:59:09Z

On Fri, Feb 20, 2009 at 03:52:14AM -0500, Christoph Hellwig wrote:
> From: Dave Chinner <dgc@sgi.com>
>
> Signed-off-by: Dave Chinner <dgc@sgi.com>

....

> /*
> + * Find the length of the longest extent in an AG.
> + */
> +xfs_extlen_t
> +xfs_alloc_min_freelist(
> + struct xfs_mount *mp,
> + struct xfs_perag *pag)

Looking at this again, I'd change the name of this function
to xfs_alloc_ag_longest_free_extent(), because that is what it
is actually returning....

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com