bcachefs: Use kvpmalloc mempools for compression bounce
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 29 Mar 2020 16:33:41 +0000 (12:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:37 +0000 (17:08 -0400)
commit22f776985f34334b3bbba75b71ecca711f34e3f4
tree7d62678fef82a28e8bb6ff17a696f610f51339e3
parent5a655f06c94f541fa9223a9b7ef2ab8a909f1fea
bcachefs: Use kvpmalloc mempools for compression bounce

This fixes an issue where mounting would fail because of memory
fragmentation - previously the compression bounce buffers were using
get_free_pages().

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/compress.c