Re: [PATCH] erofs: allow large folios for compressed files

2024-08-20 Thread Barry Song
org/r/CAGsJ_4wtE8OcpinuqVwG4jtdx6Qh5f+TON6wz+4HMCq=a2q...@mail.gmail.com > Cc: Barry Song <21cn...@gmail.com> > Cc: Matthew Wilcox (Oracle) > Signed-off-by: Gao Xiang Thank you, Xiang! We'll run some tests and update you with our findings. > --- > Documentation/filesystems/erofs

[PATCH RFC] fs: erofs: support PG_mappedtodisk flag for folios with zero-filled

2024-10-17 Thread Barry Song
From: Barry Song When a folio has never been zero-filled, mark it as mappedtodisk to allow other software components to recognize and utilize the flag. Signed-off-by: Barry Song --- fs/erofs/fileio.c | 2 ++ fs/erofs/zdata.c | 6 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff

Re: [PATCH RFC] fs: erofs: support PG_mappedtodisk flag for folios with zero-filled

2024-10-17 Thread Barry Song
On Thu, Oct 17, 2024 at 9:00 PM Gao Xiang wrote: > > > > On 2024/10/17 15:58, Gao Xiang wrote: > > Hi Barry, > > > > On 2024/10/17 15:43, Barry Song wrote: > >> From: Barry Song > >> > >> When a folio has never been zero-filled, mark it a

Re: Compressed files & the page cache

2025-07-20 Thread Barry Song
On Wed, Jul 16, 2025 at 8:28 AM Gao Xiang wrote: > > > > On 2025/7/16 07:32, Gao Xiang wrote: > > Hi Matthew, > > > > On 2025/7/16 04:40, Matthew Wilcox wrote: > >> I've started looking at how the page cache can help filesystems handle > >> compressed data better. Feedback would be appreciated!

Re: Compressed files & the page cache

2025-07-21 Thread Barry Song
On Mon, Jul 21, 2025 at 7:37 PM Qu Wenruo wrote: > > > > 在 2025/7/21 19:55, Jan Kara 写道: > > On Mon 21-07-25 11:14:02, Gao Xiang wrote: > >> Hi Barry, > >> > >> On 2025/7/21 09:02, Barry Song wrote: > >>> On Wed, Jul 16, 2025 at 8:28 AM Ga

Re: Compressed files & the page cache

2025-07-20 Thread Barry Song
On Wed, Jul 16, 2025 at 7:32 AM Gao Xiang wrote: [...] > > I don't see this will work for EROFS because EROFS always supports > variable uncompressed extent lengths and that will break typical > EROFS use cases and on-disk formats. > > Other thing is that large order folios (physical consecutive)