• Theodore Ts'o's avatar
    ext4: replace BUG_ON with WARN_ON in mb_find_extent() · 43c73221
    Theodore Ts'o authored
    The last BUG_ON in mb_find_extent() is apparently triggering in some
    rare cases.  Most of the time it indicates a bug in the buddy bitmap
    algorithms, but there are some weird cases where it can trigger when
    buddy bitmap is still in memory, but the block bitmap has to be read
    from disk, and there is disk or memory corruption such that the block
    bitmap and the buddy bitmap are out of sync.
    
    Google-Bug-Id: #33702157
    Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
    43c73221
mballoc.c 144 KB