bcachefs: BCH_FEATURE_new_extent_overwrite is now required
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 18 Mar 2020 15:40:07 +0000 (11:40 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:37 +0000 (17:08 -0400)
commit97328a1a3c95ec90bed0221719ce1ba64544f6a8
tree004d2ff757ac10a9df7520d00ada4e5fa40637cb
parent5d548743bddf7353cfedde0b78cfc9330031a697
bcachefs: BCH_FEATURE_new_extent_overwrite is now required

The patch "bcachefs: Move extent overwrite handling out of core btree
code" should have been flipping on this feature bit; extent btree nodes
in the old format have to be rewritten before we can insert into them
with the new extent update path. Not turning on this feature bit was
causing us to go into an infinite loop where we keep rewriting btree
nodes over and over.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c