https://bugzilla.kernel.org/show_bug.cgi?id=207053 Bug ID: 207053 Summary: fsfreeze deadlock on XFS (the FIFREEZE ioctl and subsequent FITHAW hang indefinitely) Product: File System Version: 2.5 Kernel Version: 4.19.75, 5.4.20 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: XFS Assignee: filesystem_xfs@xxxxxxxxxxxxxxxxxxxxxx Reporter: paulfurtado91@xxxxxxxxx Regression: No When we upgraded from kernel 4.14.146 to kernel 4.19.75, we began to experience frequent deadlocks from our cronjobs that freeze the filesystem for snapshotting. The fsfreeze stack shows: # cat /proc/33256/stack [<0>] __flush_work+0x177/0x1b0 [<0>] __cancel_work_timer+0x12b/0x1b0 [<0>] xfs_stop_block_reaping+0x15/0x30 [xfs] [<0>] xfs_fs_freeze+0x15/0x40 [xfs] [<0>] freeze_super+0xc8/0x190 [<0>] do_vfs_ioctl+0x510/0x630 [<0>] ksys_ioctl+0x70/0x80 [<0>] __x64_sys_ioctl+0x16/0x20 [<0>] do_syscall_64+0x4e/0x100 [<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 The fsfreeze -u stack shows: # cat /proc/37753/stack [<0>] rwsem_down_write_slowpath+0x257/0x510 [<0>] thaw_super+0x12/0x20 [<0>] do_vfs_ioctl+0x609/0x630 [<0>] ksys_ioctl+0x70/0x80 [<0>] __x64_sys_ioctl+0x16/0x20 [<0>] do_syscall_64+0x4e/0x100 [<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Echoing "j" into /proc/sysrq-trigger to emergency thaw all filesystems doesn't solve this either. We're hitting this bug many times per week, so if there's any more debug information you need that we could turn on, let us know. Thanks! -- You are receiving this mail because: You are watching the assignee of the bug.