Re: [f2fs-dev] [PATCH v2] f2fs: compress tmp files given extension

2023-06-20 Thread Chao Yu
On 2023/6/14 6:14, Jaegeuk Kim wrote: Let's compress tmp files for the given extension list. This patch does not change the previous behavior, but allow the cases as below. Extention example: "ext" - abc.ext : allow - abc.ext.abc : allow - abc.extm : not allow Signed-off-by: Jaegeuk Kim ---

[f2fs-dev] [PATCH] f2fs: Only lfs mode is allowed with zoned block device feature

2023-06-20 Thread Chunhai Guo via Linux-f2fs-devel
Now f2fs support four block allocation modes: lfs, adaptive, fragment:segment, fragment:block. Only lfs mode is allowed with zoned block device feature. Signed-off-by: Chunhai Guo --- fs/f2fs/super.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/super.c

Re: [f2fs-dev] f2fs async buffered write patch

2023-06-20 Thread Jens Axboe
On 6/20/23 12:16?AM, Jaegeuk Kim wrote: > On 06/19, Jens Axboe wrote: >> Hi, >> >> I came across this patch in a news posting: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev&id=d618126911829523e35a61f4a5a4ad159b1b2c8d >> >> which has me a bit worried. As far as

[f2fs-dev] [PATCH v2] f2fs: compress: don't force buffered io when in COMPR_MODE_USER mode

2023-06-20 Thread Yangtao Li via Linux-f2fs-devel
It is observed that when in user compression mode (compress_extension=*), even though the file is not compressed, the file is still forced to use buffer io, which makes the AndroBench sequential read and write drop significantly. In fact, when the file is not compressed, we don't need to force it t

Re: [f2fs-dev] [PATCH] f2fs: remove unneeded page uptodate check/set

2023-06-20 Thread Chao Yu
On 2023/6/19 23:13, Yunlei He wrote: This patch remove unneeded page uptodate check/set in f2fs_vm_page_mkwrite, which already done in set_page_dirty. Signed-off-by: Yunlei He Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-

Re: [f2fs-dev] [PATCH] f2fs: not allowed to set file both cold and hot

2023-06-20 Thread Chao Yu
On 2023/6/20 10:42, 何云蕾(Yunlei he) wrote: On 2023/6/20 8:33, Chao Yu wrote: On 2023/6/13 16:52, Yunlei He wrote: File set both cold and hot advise bit is confusion, so return EINVAL to avoid this case. Signed-off-by: Yunlei He ---   fs/f2fs/xattr.c | 3 +++   1 file changed, 3 insertions(+)