]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ext4: enforce buffer head state assertion in ext4_da_map_blocks"
authorEric Whitney <enwlinux@gmail.com>
Tue, 12 Oct 2021 17:19:01 +0000 (13:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Nov 2021 14:32:34 +0000 (10:32 -0400)
commitcd74b3d295e147f59bc574c268921a988057a10f
treef257070418905cee5b4ab9216a85094ec8f0dcc1
parent64e4eef3989145850c26208b1f0481f118a4a894
Revert "ext4: enforce buffer head state assertion in ext4_da_map_blocks"

This reverts commit 2120fa2a4359b7d8c89333499cec1198918c3388.

Two crash reports from users running variations on 5.15-rc4 kernels
suggest that it is premature to enforce the state assertion in the
original commit.  Both crashes were triggered by BUG calls in that
code, indicating that under some rare circumstance the buffer head
state did not match a delayed allocated block at the time the
block was written out.  No reproducer is available.  Resolving this
problem will require more time than remains in the current release
cycle, so reverting the original patch for the time being is necessary
to avoid any instability it may cause.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Link: https://lore.kernel.org/r/20211012171901.5352-1-enwlinux@gmail.com
Fixes: 2120fa2a4359 ("ext4: enforce buffer head state assertion in ext4_da_map_blocks")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/inode.c