bcachefs: Refactor bch2_alloc_write()

Major simplification - gets rid of the need for marking buckets as
dirty, instead we write buckets if the in memory mark is different from
what's in the btree.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2019-08-27 17:45:42 -04:00 • committed by Kent Overstreet
commit 6671a7089f
6 changed files with 94 additions and 135 deletions