Skip to contentSkip to conversation

New: kernel hangs when running commands on F2FS file system

f2fs-dev [email protected] 1 participant 4 messages Apr 27, 2022 – May 3, 2022

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=215900

Bug ID: 215900
Summary: kernel hangs when running commands on F2FS file system
Product: File System
Version: 2.5
Kernel Version: 5.17
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: f2fs
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 300824
--> https://bugzilla.kernel.org/attachment.cgi?id=300824&action=edit
case.c

I have mounted a F2FS image on the Linux system. When I was performing file operations on the mounted directory, the kernel hangs. I tried to kill the running process but failed. Any operations on the directory have no response. I am wondering whether a deadlock is in the kernel.

This issue can be reproduced by running the following scripts:

gcc -o case case.c
losetup /dev/loop0 case.img
mount -o "disable_ext_identify,inline_data,nobarrier,extent_cache,grpquota,fsync_mode=nobarrier,test_dummy_encryption" -t f2fs /dev/loop0 /root/mnt
./case

The image can be found at
(https://drive.google.com/file/d/1bjCQR_-Sz6iF_wshMGU3wWZDQ8tQIFdj/view?usp=sharing)

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#1 lore raw

[f2fs-dev] [Bug 215900] kernel hangs when running commands on F2FS file system

https://bugzilla.kernel.org/show_bug.cgi?id=215900

Chao Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #1 from Chao Yu ([email protected]) ---
I doubt this has been fixed, could you please help to verify with recent fixing patches in below branch?

https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/log/?h=dev-test

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#2 lore raw

[f2fs-dev] [Bug 215900] kernel hangs when running commands on F2FS file system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215900

--- Comment #2 from bughunter ([email protected]) --- Yes, after adding these patches, this bug has been fixed! Thank you~

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#3 lore raw

[f2fs-dev] [Bug 215900] kernel hangs when running commands on F2FS file system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=215900

Chao Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel