Thread (62 messages) 62 messages, 2 authors, 2022-01-04

Re: [PATCH v11 12/14] btrfs: send: allocate send buffer with alloc_page() and vmap() for v2

From: Nikolay Borisov <hidden>
Date: 2021-10-18 11:10:07
Also in: linux-btrfs, linux-fsdevel


On 1.09.21 г. 20:01, Omar Sandoval wrote:
From: Omar Sandoval <redacted>

For encoded writes, we need the raw pages for reading compressed data
directly via a bio. So, replace kvmalloc() with vmap() so we have access
to the raw pages. 144k is large enough that it usually gets allocated
with vmalloc(), anyways.

Signed-off-by: Omar Sandoval <redacted>
Reviewed-by: Nikolay Borisov <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help