summaryrefslogtreecommitdiff
path: root/fs/bcachefs/util.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-14 16:54:43 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-14 17:25:25 +0300
commit90fd9ad5b0c981693c8512d9da01f14fb6596e9d (patch)
tree99779ab7be4274bc39b502bc6714dc439ca55d1b /fs/bcachefs/util.c
parent9c18ea7ffee090b47afaa7dc41903fb1b436d7bd (diff)
downloadlinux-90fd9ad5b0c981693c8512d9da01f14fb6596e9d.tar.xz
bcachefs: Change btree wb assert to runtime error
We just had a report of the assert for "btree in write buffer for non-write buffer btree" popping during the 6.14 upgrade. - 150TB filesystem, after a reboot the upgrade was able to continue from where it left off, so no major damage. But with 6.14 about to come out we want to get this tracked down asap, and need more data if other users hit this. Convert the BUG_ON() to an emergency read-only, and print out btree, the key itself, and stack trace from the original write buffer update (which did not have this check before). Reported-by: Stijn Tintel <stijn@linux-ipv6.be> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.c')
0 files changed, 0 insertions, 0 deletions