Re: [f2fs-dev] [PATCH v3 5/5] f2fs: compress: don't allow unaligned truncation on released compress inode

2024-05-10 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 10 May 2024 11:33:39 +0800 you wrote: > f2fs image may be corrupted after below testcase: > - mkfs.f2fs -O extra_attr,compression -f /dev/vdb > - mount /dev/vdb /mnt/f2fs > - touch /mnt/f2fs/file > - f2fs_io setflags

[f2fs-dev] [PATCH v3 5/5] f2fs: compress: don't allow unaligned truncation on released compress inode

2024-05-09 Thread Chao Yu
f2fs image may be corrupted after below testcase: - mkfs.f2fs -O extra_attr,compression -f /dev/vdb - mount /dev/vdb /mnt/f2fs - touch /mnt/f2fs/file - f2fs_io setflags compression /mnt/f2fs/file - dd if=/dev/zero of=/mnt/f2fs/file bs=4k count=4 - f2fs_io release_cblocks /mnt/f2fs/file - truncate -