bcachefs: Write out alloc info more carefully
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 28 Mar 2019 07:40:39 +0000 (03:40 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:19 +0000 (17:08 -0400)
commitd5f70c1f2750f0917025ea6b1ee0591cd65a6097
treeb38cef627662b7d117678d6751dc9e63250001e0
parentccaa61c9f6a9db28f2e0b480927f6f2c97ff72af
bcachefs: Write out alloc info more carefully

In flight btree updates could update alloc info until they're flushed -
so we have to try writing again after they've been flushed.

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