Messages in this thread |  | | Date | Fri, 26 Jan 2024 21:30:25 +0800 | | Subject | Re: [PATCH v3] erofs: relaxed temporary buffers allocation on readahead | | From | Gao Xiang <> |
| |
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
|  |