• Theodore Ts'o's avatar
    ext4: retry allocations conservatively · 68fd9750
    Theodore Ts'o authored
    Now that we no longer try to reserve metadata blocks for delayed
    allocations (which tended to overestimate the required number of
    blocks significantly), we really don't need retry allocations when the
    disk is very full as aggressively any more.
    
    The only time when it makes sense to retry an allocation is if we have
    freshly deleted blocks that will only become available after a
    transaction commit.  And if we lose that race, it's not worth it to
    try more than once.
    Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
    68fd9750
balloc.c 25.4 KB