lkml.org 
[lkml]   [2024]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] erofs: relaxed temporary buffers allocation on readahead
From
Hi Yue,

On 2024/1/26 18:46, Yue Hu wrote:
> On Fri, 26 Jan 2024 13:36:16 +0800
> Gao Xiang <hsiangkao@linux.alibaba.com> wrote:
>

..

>> /*
>> @@ -1276,7 +1280,11 @@ static int z_erofs_decompress_pcluster(struct z_erofs_decompress_backend *be,
>> .inplace_io = overlapped,
>> .partial_decoding = pcl->partial,
>> .fillgaps = pcl->multibases,
>> + .gfp = pcl->besteffort ?
>> + GFP_KERNEL | __GFP_NOFAIL :
>> + GFP_NOWAIT | __GFP_NORETRY
>> }, be->pagepool);
>> + pcl->besteffort = false;
>
> reposition it following `pcl->multibases = false`?

Good idea! Let me update this.

Thanks,
Gao Xiang

\
 
 \ /
  Last update: 2024-05-27 14:34    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog