• Lukas Czerner's avatar
    ext4: reserve metadata block for every delayed write · 386ad67c
    Lukas Czerner authored
    Currently we only reserve space (data+metadata) in delayed allocation if
    we're allocating from new cluster (which is always in non-bigalloc file
    system) which is ok for data blocks, because we reserve the whole cluster.
    
    However we have to reserve metadata for every delayed block we're going
    to write because every block could potentially require metedata block
    when we need to grow the extent tree.
    Signed-off-by: default avatarLukas Czerner <lczerner@redhat.com>
    386ad67c
inode.c 146 KB