Skip to contentSkip to conversation

New: kernel deadlocks while performing file operations

f2fs-dev [email protected] 1 participant 4 messages May 1, 2022 – May 2, 2022

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 215929
Summary: kernel deadlocks while performing file operations
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 300864
--> https://bugzilla.kernel.org/attachment.cgi?id=300864&action=edit
case.c, contains file operations

I'd mounted a F2FS image with several mount options. When I was performing file operations on the mount point, the kernel hangs, and the process cannot be killed.

The file operations are in case.c, and the image is provided at
(https://drive.google.com/file/d/1be1SyKJwBWvQKSnhD0Y05ZquEIPT62-W/view?usp=sharing).

This issue can be reproduced by running the following commands:
losetup /dev/loop0 case.img
mount -o "background_gc=sync,active_logs=4,disable_ext_identify,inline_dentry,data_flush,fsync_mode=posix" /dev/loop0 /mnt/test/
gcc -o case case.c
./case

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 215929] kernel deadlocks while performing file operations

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

Chao Yu ([email protected]) changed:

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

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

--- Comment #1 from Chao Yu ([email protected]) ---
I can't reproduce this bug... Could you please test based on below bugzilla branch? I've applied all recent fixing patches in that branch.

https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/log/?h=bugzilla

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 215929] kernel deadlocks while performing file operations

In reply to [email protected]

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

--- Comment #2 from bughunter ([email protected]) --- (In reply to Chao Yu from comment #1)

Quoted 5 lines

I can't reproduce this bug... Could you please test based on below bugzilla branch? I've applied all recent fixing patches in that branch.

https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/log/
?h=bugzilla

I've just tried the kernel in this branch, and this bug disappears. It may have been fixed in a recent commit.

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 215929] kernel deadlocks while performing file operations

In reply to [email protected]

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

Artem S. Tashkinov ([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