Commit 2628cfe3 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Add vmalloc fallback for decompress workspace

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e5c15444
...@@ -607,7 +607,7 @@ static int __bch2_fs_compress_init(struct bch_fs *c, u64 features) ...@@ -607,7 +607,7 @@ static int __bch2_fs_compress_init(struct bch_fs *c, u64 features)
} }
if (!mempool_initialized(&c->decompress_workspace)) { if (!mempool_initialized(&c->decompress_workspace)) {
ret = mempool_init_kmalloc_pool( ret = mempool_init_kvpmalloc_pool(
&c->decompress_workspace, &c->decompress_workspace,
1, decompress_workspace_size); 1, decompress_workspace_size);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment