]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit43c73221b3b1cdc9156c78287c5f4b29dc085d22
treea438b55c0d83f1ba15f97729dc07509e57385eb8
parent01daf9452569fe2e69e27fe3e617b43d2ebb1e93
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