Re: [f2fs-dev] [PATCH v2] f2fs: compress: don't redirty sparse cluster during {, de}compress

2024-12-11 Thread Dan Carpenter
On Mon, Aug 19, 2024 at 05:34:30PM +0900, Yeongjin Gil wrote: > In f2fs_do_write_data_page, when the data block is NULL_ADDR, it skips > writepage considering that it has been already truncated. > This results in an infinite loop as the PAGECACHE_TAG_TOWRITE tag is not > cleared during the writebac

Re: [f2fs-dev] [PATCH v2 1/2] f2fs-tools: use pread and pwrite when they are available.

2024-12-11 Thread Sheng Yong via Linux-f2fs-devel
On 2024/12/11 8:14, LongPing Wei wrote: This patch wants to reduce the number of system calls to improve performance. pread and pwrite will only be used when the target platform support them. Signed-off-by: LongPing Wei Reviewed-by: Sheng Yong thanks, shengyong

Re: [f2fs-dev] [PATCH v2 2/2] f2fs-tools: add HAVE_PREAD and HAVE_PWRITE

2024-12-11 Thread Sheng Yong via Linux-f2fs-devel
On 2024/12/11 8:14, LongPing Wei wrote: This patch will enable pread and pwrite support on Android platform. Signed-off-by: LongPing Wei Reviewed-by: Sheng Yong thanks, shengyong ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.source