• Eric Sandeen's avatar
    quota: add the option to not fail with EDQUOT in block · 0e05842b
    Eric Sandeen authored
    To simplify metadata tracking for delalloc writes, ext4
    will simply claim metadata blocks at allocation time, without
    first speculatively reserving the worst case and then freeing
    what was not used.
    
    To do this, we need a mechanism to track allocations in
    the quota subsystem, but potentially allow that allocation
    to actually go over quota.
    
    This patch adds a DQUOT_SPACE_NOFAIL flag and function
    variants for this purpose.
    Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    0e05842b
dquot.c 70.2 KB