mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
bcachefs: Add vmalloc fallback for decompress workspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
e5c15444d6
commit
2628cfe3d3
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ static int __bch2_fs_compress_init(struct bch_fs *c, u64 features)
|
|||
}
|
||||
|
||||
if (!mempool_initialized(&c->decompress_workspace)) {
|
||||
ret = mempool_init_kmalloc_pool(
|
||||
ret = mempool_init_kvpmalloc_pool(
|
||||
&c->decompress_workspace,
|
||||
1, decompress_workspace_size);
|
||||
if (ret)
|
||||
|
|
Loading…
Reference in a new issue