> -----Original Message----- > From: [email protected] <[email protected]> On Behalf Of Chao > Yu > Sent: Thursday, December 16, 2021 5:29 PM > To: 常凤楠 <[email protected]>; [email protected]; > [email protected] > Subject: Re: f2fs_invalidate_compress_pages sometime take long time to finish > > On 2021/12/2 17:28, Fengnan Chang wrote: > > When enable compress_cache option, in my test envrionment, sometime > > f2fs_invalidate_compress_pages will take long time to finish, > > find_get_pages_range take most time, is there anyone encounter this > > problem too? In my test, I have 8 files, each file size was 64MB, do > > some seq and random read or write and drop cache, when drop cache, it > > happnes, my kernel version was 5.10.43. Is there anything to suspect? > > Fengnan, could you please test below patch? > > https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=dev& > id=a4419b29c491f42eb823f281ef242448f85760f3
After this patch and https://lore.kernel.org/linux-f2fs-devel/[email protected]/T/#u, The problem hasn’t reproduce yet. > > > > > Thanks. _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
