Skip to contentSkip to conversation

New: kernel deadlocks while mounting the image

f2fs-dev [email protected] 1 participant 4 messages Mar 21, 2022 – Mar 25, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 215709
           Summary: kernel deadlocks while mounting the image
           Product: File System
           Version: 2.5
    Kernel Version: 5.15.4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: f2fs
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I have created an image with mkfs.f2fs, and modified some of the metadata of the image. Unfortunately, when I tried to mount the image with a loop device, the kernel deadlocked. I have attempted many ways to stop the mount process, even executed a 'kill' command, but they are failed, only what I can do is to reboot the system. Can anyone tell me why the kernel deadlocked, and how can I fix this problem?

I have upload the image to the Google Drive
(https://drive.google.com/file/d/1DBwKP0-MpkD3eHPTluz3KPcxbdZAw06t/view?usp=sharing).
Looking forward to getting a reply :)

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 215709] kernel deadlocks while mounting the image

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

Chao Yu ([email protected]) changed:

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

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

--- Comment #1 from Chao Yu ([email protected]) ---
Hi, thanks for the report.

I've figured out a patch to fix this, could you please verify with it?

https://lore.kernel.org/linux-f2fs-devel/[email protected]/T/#u

Thanks,

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 215709] kernel deadlocks while mounting the image

In reply to [email protected]

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

--- Comment #2 from bughunter ([email protected]) ---
Thank you for prompt reply! I have tried this patch, and it seems that the bug has been fixed.

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 215709] kernel deadlocks while mounting the image

In reply to [email protected]

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

Chao Yu ([email protected]) changed:

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

             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #3 from Chao Yu ([email protected]) ---
Thanks for the 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