[f2fs-dev] [PATCH] fsck.f2fs: do not assert if i_size is missing i_blocks in symlink

2021-11-12 Thread Jaegeuk Kim
This case is not a bug, so we should fix seamlessly. Signed-off-by: Jaegeuk Kim --- fsck/fsck.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/fsck/fsck.c b/fsck/fsck.c index 0619519f9b42..ecd87af0ff7f 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -1131,14 +1131,1

Re: [f2fs-dev] [GIT PULL] zstd changes for v5.16

2021-11-12 Thread Herbert Xu
Nick Terrell wrote: > > 2. Reaching out to Herbert Xu—because the first zstd version went through the >crypto tree—and other relevant maintainers who have been >involved, and trying to get a word of support for adding me as the > maintainer >of lib/zstd in this thread. Actually I don

Re: [f2fs-dev] [PATCH v3] f2fs: compress: reduce one page array alloc and free when write compressed page

2021-11-12 Thread Chao Yu
On 2021/11/10 10:37, Fengnan Chang wrote: Don't alloc new page pointers array to replace old, just use old, introduce valid_nr_cpages to indicate valid number of page pointers in array, try to reduce one page array alloc and free when write compress page. Signed-off-by: Fengnan Chang Reviewed

Re: [f2fs-dev] Do we need serial io for compress file?

2021-11-12 Thread Chao Yu
On 2021/11/10 9:41, 常凤楠 wrote: -Original Message- From: changfeng...@vivo.com On Behalf Of Chao Yu Sent: Tuesday, November 9, 2021 9:46 PM To: 常凤楠 ; jaeg...@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net Subject: Re: Do we need serial io for compress file? On 2021/11/9 11:18, 常凤楠

Re: [f2fs-dev] Do we need serial io for compress file?

2021-11-12 Thread Chao Yu
On 2021/11/10 9:49, 常凤楠 wrote: -Original Message- From: changfeng...@vivo.com On Behalf Of Chao Yu Sent: Tuesday, November 9, 2021 9:41 PM To: 常凤楠 ; jaeg...@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net Subject: Re: Do we need serial io for compress file? On 2021/11/9 9:59, 常

Re: [f2fs-dev] [RFC PATCH] f2fs:compress: introduce compress private data slab cache

2021-11-12 Thread Chao Yu
On 2021/10/28 19:24, Fengnan Chang wrote: Add "f2fs_lzo_compress_private" and "f2fs_lz4_compress_private" slab cache, to speed up memory allocation when init compress ctx. No slab cache is added to zstd as the private data for zstd is related to mount option, and too big. Signed-off-by: Fengnan