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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1.09.21 г. 20:01, Omar Sandoval wrote:
> From: Omar Sandoval <osandov@xxxxxx>
> 
> 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 <osandov@xxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux