https://bugzilla.kernel.org/show_bug.cgi?id=216322 Bug ID: 216322 Summary: Freezing of tasks failed after 60.004 seconds (1 tasks refusing to freeze... task:fstrim ext4_trim_fs - Dell XPS 13 9310 Product: File System Version: 2.5 Kernel Version: 5.19.0 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: ext4 Assignee: fs_ext4@xxxxxxxxxxxxxxxxxxxx Reporter: lenb@xxxxxxxxxx Regression: No The system suspend to idle path occasionally times out after 60 seconds and throws the stack trace below. The result is that the suspend path is aborted and the systems continues running. Unfortunately, when a user invokes suspend, they expect it to work, and they may not be around (lid closed) to try it again when it aborts... [10483.047079] PM: suspend entry (s2idle) [10483.052777] Filesystems sync: 0.005 seconds [10483.052782] PM: Preparing system for sleep (s2idle) [10483.060824] Freezing user space processes ... [10543.024088] Freezing of tasks failed after 60.004 seconds (1 tasks refusing to freeze, wq_busy=0): [10543.024175] task:fstrim state:D stack: 0 pid:225775 ppid: 1 flags:0x00004006 [10543.024183] Call Trace: [10543.024186] <TASK> [10543.024192] __schedule+0x306/0x9f0 [10543.024202] schedule+0x5c/0xd0 [10543.024206] schedule_timeout+0x87/0x160 [10543.024211] ? timer_migration_handler+0xa0/0xa0 [10543.024217] trace_clock_x86_tsc+0x20/0x20 [10543.024224] __wait_for_common+0x8f/0x190 [10543.024228] ? firmware_map_remove+0x9c/0x9c [10543.024233] wait_for_completion_io_timeout+0x1d/0x30 [10543.024237] submit_bio_wait+0x7f/0xc0 [10543.024244] blkdev_issue_discard+0x6e/0xc0 [10543.024250] ext4_try_to_trim_range+0x1f0/0x440 [10543.024259] ext4_trim_fs+0x327/0x4d0 [10543.024266] __ext4_ioctl+0x2d3/0x1590 [10543.024270] ? putname+0x59/0x70 [10543.024275] ? __seccomp_filter+0x3a6/0x5c0 [10543.024283] ext4_ioctl+0xe/0x20 [10543.024287] __x64_sys_ioctl+0x92/0xd0 [10543.024293] do_syscall_64+0x59/0x90 [10543.024297] ? do_syscall_64+0x69/0x90 [10543.024300] entry_SYSCALL_64_after_hwframe+0x63/0xcd [10543.024306] RIP: 0033:0x7f2ae6b1aaff [10543.024312] RSP: 002b:00007ffd41e6de60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [10543.024317] RAX: ffffffffffffffda RBX: 00007ffd41e6dfb0 RCX: 00007f2ae6b1aaff [10543.024319] RDX: 00007ffd41e6ded0 RSI: 00000000c0185879 RDI: 0000000000000003 [10543.024322] RBP: 00005621c3642e90 R08: 00005621c3642e90 R09: 0000000000000000 [10543.024324] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 [10543.024326] R13: 00005621c3642ce0 R14: 00005621c3642980 R15: 00005621c3642980 [10543.024330] </TASK> [10543.024343] OOM killer enabled. [10543.024344] Restarting tasks ... done. [10543.085776] PM: suspend exit -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.