Re: [PATCH v2 19/25] netfs: Speed up buffered reading

2024-09-30 Thread David Howells
Okay, let's try something a little more drastic. See if we can at least get it booting to the point we can read the tracelog. If you can apply the attached patch? It won't release any folio_queue struct or put the refs on any pages, so it will quickly run out of memory - but if you have sufficie

Re: [PATCH v2 19/25] netfs: Speed up buffered reading

2024-09-30 Thread David Howells
David Howells wrote: > Okay, let's try something a little more drastic. See if we can at least get > it booting to the point we can read the tracelog. If you can apply the > attached patch? It's also on my branch: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/

[PATCH] erofs: free pcluster right after decompression if possible

2024-09-30 Thread Chunhai Guo via Linux-erofs
Once a pcluster is fully decompressed and there are no attached cached pages, its corresponding struct z_erofs_pcluster will be freed. This will significantly reduce the frequency of calls to erofs_shrink_scan() and the memory allocated for struct z_erofs_pcluster. The tables below show approximat

Re: [PATCH v2 19/25] netfs: Speed up buffered reading

2024-09-30 Thread Eduard Zingerman
On Mon, 2024-09-30 at 13:51 +0100, David Howells wrote: > David Howells wrote: > > > Okay, let's try something a little more drastic. See if we can at least get > > it booting to the point we can read the tracelog. If you can apply the > > attached patch? > > It's also on my branch: > >

Re: [PATCH v2 1/4] erofs: add file-backed mount support

2024-09-30 Thread Jan Kara
Hi! On Tue 24-09-24 11:21:59, Geert Uytterhoeven wrote: > On Fri, Aug 30, 2024 at 5:29 AM Gao Xiang wrote: > > It actually has been around for years: For containers and other sandbox > > use cases, there will be thousands (and even more) of authenticated > > (sub)images running on the same host,

Re: [PATCH v2 1/4] erofs: add file-backed mount support

2024-09-30 Thread Geert Uytterhoeven
Hi Jan, On Mon, Sep 30, 2024 at 4:18 PM Jan Kara wrote: > On Tue 24-09-24 11:21:59, Geert Uytterhoeven wrote: > > On Fri, Aug 30, 2024 at 5:29 AM Gao Xiang > > wrote: > > > It actually has been around for years: For containers and other sandbox > > > use cases, there will be thousands (and even

Re: [PATCH v2 19/25] netfs: Speed up buffered reading

2024-09-30 Thread Omar Sandoval
On Mon, Sep 30, 2024 at 07:35:02PM +0100, David Howells wrote: > Eduard Zingerman wrote: > > > Are there any hacks possible to printout tracelog before complete boot > > somehow? > > You could try setting CONFIG_NETFS_DEBUG=y. That'll print some stuff to > dmesg. > > David I hit this in drgn'

Re: [PATCH v2 19/25] netfs: Speed up buffered reading

2024-09-30 Thread David Howells
Eduard Zingerman wrote: > Are there any hacks possible to printout tracelog before complete boot > somehow? You could try setting CONFIG_NETFS_DEBUG=y. That'll print some stuff to dmesg. David

[xiang-erofs:dev-test] BUILD SUCCESS 98dd36c9fa0853ab3c0e6d9aa8287a8518cffea9

2024-09-30 Thread kernel test robot
allnoconfiggcc-12 i386 allyesconfigclang-18 i386 allyesconfiggcc-12 i386buildonly-randconfig-001-20240930gcc-12 i386buildonly-randconfig-002-20240930clang-18 i386buildonly-randconfig-003