• D
    xfs: rework xfs_alloc_vextent() · ecd788a9
    Dave Chinner 提交于
    It's a multiplexing mess that can be greatly simplified, and really
    needs to be simplified to allow active per-ag references to
    propagate from initial AG selection code the the bmapi code.
    
    This splits the code out into separate a parameter checking
    function, an iterator function, and allocation completion functions
    and then implements the individual policies using these functions.
    Signed-off-by: NDave Chinner <dchinner@redhat.com>
    Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
    ecd788a9
xfs_alloc.c 98.2 KB