https://bugzilla.kernel.org/show_bug.cgi?id=208325
Chao Yu (c...@kernel.org) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |c...@kernel.org --- Comment #1 from Chao Yu (c...@kernel.org) --- Hi, thanks for the report. What's you mkfs/mount option? I've no idea whether this is a f2fs bug or not, as you said device can be trusted, so almostly it should be a software bug. One case I can image could be that apps bypassing filesystem to write data via LBA directly, then data can be corrupted. If possible, could you please help to add below three patches to recompile the kernel https://lore.kernel.org/linux-f2fs-devel/20200628122940.29665-1-yuch...@huawei.com/T/#t [f2fs-dev] [PATCH 1/3] f2fs: fix wrong return value of f2fs_bmap_compress() [f2fs-dev] [PATCH 2/3] f2fs: support to trace f2fs_bmap() [f2fs-dev] [PATCH 3/3] f2fs: support to trace f2fs_fiemap() Then, use below commands to see whether there is apps are lookuping LBA: echo 1 > /sys/kernel/debug/tracing/events/f2fs/f2fs_bmap/enable echo 1 > /sys/kernel/debug/tracing/events/f2fs/f2fs_fiemap/enable cat /sys/kernel/debug/tracing/trace_pipe |grep f2fs -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel