Bug 215914

Summary: kernel hangs after mounting the image
Product: File System Reporter: bughunter (yanming)
Component: f2fsAssignee: Default virtual assignee for f2fs (filesystem_f2fs)
Status: RESOLVED CODE_FIX    
Severity: normal CC: chao
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.17 Subsystem:
Regression: No Bisected commit-id:

Description bughunter 2022-04-28 16:20:12 UTC
I have mounted a F2FS image with several mount options. When I try to perform any file operations on the mount point, the kernel hangs. The process even cannot be killed. I am wondering whether there is a bug in the file system?

The image is provided at (https://drive.google.com/file/d/1EwbxTExo7lsNgGKRpK-CP3ccIkFJe4kg/view?usp=sharing).

This issue can be reproduced by running the following commands:
losetup /dev/loop0 case.img
mount -o "disable_ext_identify,inline_data,nobarrier,extent_cache,grpquota,fsync_mode=nobarrier,test_dummy_encryption" /dev/loop0 /mnt/test/
cd /mnt/test/
touch test
Comment 1 bughunter 2022-04-30 04:53:31 UTC
This bug has been fixed :)

Thank you for your prompt reply!