Update bcachefs sources to 508dc7f614e7 bcachefs: Ensure copygc, rebalance threads are preallocated

This commit is contained in:
Kent Overstreet 2025-10-04 11:55:10 -04:00
parent 9fe65066ab
commit dcac6e327d
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1 @@
1e5c304db79f79a055385da061d161fcc9747f67
508dc7f614e7ea505f16063ab34fdb316d8b2668

View File

@ -632,6 +632,8 @@ static void __bch2_fs_free(struct bch_fs *c)
utf8_unload(c->cf_encoding);
#endif
bch2_rebalance_stop(c);
bch2_copygc_stop(c);
bch2_find_btree_nodes_exit(&c->found_btree_nodes);
bch2_free_pending_node_rewrites(c);
bch2_free_fsck_errs(c);
@ -855,7 +857,9 @@ int bch2_fs_init_rw(struct bch_fs *c)
bch2_fs_fs_io_buffered_init(c) ?:
bch2_fs_io_write_init(c) ?:
bch2_fs_journal_init(&c->journal) ?:
bch2_journal_reclaim_start(&c->journal);
bch2_journal_reclaim_start(&c->journal) ?:
bch2_copygc_start(c) ?:
bch2_rebalance_start(c);
if (ret)
return ret;