Update bcachefs sources to 6a3927a96b fixup! bcachefs: Don't use write side of mark_lock in journal write path

This commit is contained in:
Kent Overstreet 2021-04-04 22:25:32 -04:00
parent 08e14f84d9
commit ce906d661e
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
f26267fc82539ef3390cf2bb2bc818436dd504c7
6a3927a96b2f362deccc7ee36e20e03f193a9e00

View File

@ -496,6 +496,7 @@ static void __bch2_fs_free(struct bch_fs *c)
for_each_possible_cpu(cpu)
kfree(per_cpu_ptr(c->btree_iters_bufs, cpu)->iter);
free_percpu(c->online_reserved);
free_percpu(c->btree_iters_bufs);
free_percpu(c->pcpu);
mempool_exit(&c->large_bkey_pool);
@ -775,6 +776,7 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts)
BIOSET_NEED_BVECS) ||
!(c->pcpu = alloc_percpu(struct bch_fs_pcpu)) ||
!(c->btree_iters_bufs = alloc_percpu(struct btree_iter_buf)) ||
!(c->online_reserved = alloc_percpu(u64)) ||
mempool_init_kvpmalloc_pool(&c->btree_bounce_pool, 1,
btree_bytes(c)) ||
mempool_init_kmalloc_pool(&c->large_bkey_pool, 1, 2048) ||