mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
Update bcachefs sources to 6a3927a96b fixup! bcachefs: Don't use write side of mark_lock in journal write path
This commit is contained in:
parent
08e14f84d9
commit
ce906d661e
@ -1 +1 @@
|
||||
f26267fc82539ef3390cf2bb2bc818436dd504c7
|
||||
6a3927a96b2f362deccc7ee36e20e03f193a9e00
|
||||
|
@ -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) ||
|
||||
|
Loading…
Reference in New Issue
Block a user