[f2fs-dev] [Bug 219586] Unable to find file after unicode change

2024-12-12 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=219586 --- Comment #6 from HanQi (ha...@vivo.com) --- (In reply to Chao Yu from comment #5) > (In reply to HanQi from comment #0) > > Hi everybody, > > The f2fs filesystem is unable to read some files with special characters, > > such as ❤️, after the ke

Re: [f2fs-dev] [PATCH v4 00/19] Wire up CRC32 library functions to arch-optimized code

2024-12-12 Thread Eric Biggers via Linux-f2fs-devel
On Sun, Dec 01, 2024 at 05:08:25PM -0800, Eric Biggers wrote: > This patchset applies to v6.13-rc1 and is also available in git via: > > git fetch > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git > crc32-lib-v4 > > CRC32 is a family of common non-cryptographic integrity

[f2fs-dev] [Bug 219484] f2fs discard causes kernel NULL pointer dereferencing

2024-12-12 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=219484 --- Comment #9 from piergiorgio.sar...@nexgo.de --- Hi all, I tested kernel-6.12.4-100.fc40.x86_64.rpm (Fedora 40, Koji build). This is supposed to include the patch and, for what I tested, it seems to work fine. No NULL pointer de-referencing, n

[f2fs-dev] [PATCH v2] f2fs: ensure that node info flags are always initialized

2024-12-12 Thread Dmitry Antipov
Syzbot has reported the following KMSAN splat: BUG: KMSAN: uninit-value in f2fs_new_node_page+0x1494/0x1630 f2fs_new_node_page+0x1494/0x1630 f2fs_new_inode_page+0xb9/0x100 f2fs_init_inode_metadata+0x176/0x1e90 f2fs_add_inline_entry+0x723/0xc90 f2fs_do_add_link+0x48f/0xa70 f2fs_symlink+0x6af/

Re: [f2fs-dev] [PATCH v3 5/5] f2fs: Optimize f2fs_truncate_data_blocks_range()

2024-12-12 Thread Jaegeuk Kim via Linux-f2fs-devel
On 12/11, yi sun wrote: > Kindly ping. > I think there are no problems with the first few patches, but the > current patch may still have room for improvement. Do you have any > good suggestions? Hi, may I ask for some basic tests? Have you run xfstests? > > On Mon, Nov 4, 2024 at 11:46 AM Yi Su

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

2024-12-12 Thread Jaegeuk Kim via Linux-f2fs-devel
On 12/12, Dan Carpenter wrote: > 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 t

[f2fs-dev] [Bug 219586] Unable to find file after unicode change

2024-12-12 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=219586 --- Comment #5 from Chao Yu (c...@kernel.org) --- (In reply to HanQi from comment #0) > Hi everybody, > The f2fs filesystem is unable to read some files with special characters, > such as ❤️, after the kernel was updated with the following patch:

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

2024-12-12 Thread Chao Yu 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: Chao Yu Thanks,

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

2024-12-12 Thread Chao Yu 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: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https:

Re: [f2fs-dev] [PATCH] f2fs: ensure that node info flags are always initialized

2024-12-12 Thread Chao Yu via Linux-f2fs-devel
On 2024/12/4 14:09, Dmitry Antipov wrote: Syzbot has reported the following KMSAN splat: BUG: KMSAN: uninit-value in f2fs_new_node_page+0x1494/0x1630 f2fs_new_node_page+0x1494/0x1630 f2fs_new_inode_page+0xb9/0x100 f2fs_init_inode_metadata+0x176/0x1e90 f2fs_add_inline_entry+0x723/0xc90

Re: [f2fs-dev] [PATCH V2] f2fs: The GC triggered by ioctl also needs to mark the segno as victim

2024-12-12 Thread Chao Yu via Linux-f2fs-devel
On 2024/12/4 11:31, Yongpeng Yang wrote: In SSR mode, the segment selected for allocation might be the same as the target segment of the GC triggered by ioctl, resulting in the GC moving the CURSEG_I(sbi, type)->segno. Thread AThread B or Thread A - f2fs_ioc_gc_ran

[f2fs-dev] [Bug 219586] Unable to find file after unicode change

2024-12-12 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=219586 HanQi (ha...@vivo.com) changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[f2fs-dev] [Bug 219586] Unable to find file after unicode change

2024-12-12 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=219586 Paul Menzel (pmenzel+bugzilla.kernel@molgen.mpg.de) changed: What|Removed |Added CC||