]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: replace BUG_ON with WARN_ON in mb_find_extent()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jan 2017 00:35:52 +0000 (19:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jan 2017 00:35:52 +0000 (19:35 -0500)
commit19da788a5d1f6ab372d158292c1dc73e056680f0
treea438b55c0d83f1ba15f97729dc07509e57385eb8
parentbe2219129f5d61ed404c379fd7fb2b35ba662888
ext4: replace BUG_ON with WARN_ON in mb_find_extent()

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: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c