Bug 18722 - 写盘式,如果swap分区被占用,会发生死锁
Summary: 写盘式,如果swap分区被占用,会发生死锁
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: wangrongwei
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-11 13:55 UTC by ljubomir
Modified: 2025-02-11 14:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ljubomir inspur_group 2025-02-11 13:55:11 UTC
Description of problem:

在写盘时,系统出现卡死,无法正常执行命令,在系统下看到部分进程状态变成D状态

Dec 31 15:24:20 cu046 kernel: "echo 0 >/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 31 15:24:20 cu046 kernel: task: MATLAB state:D stack: 0 pid:414165 ppid:392503 flags:0x00004000
Dec 31 15:24:20 cu046 kernel: Call Trace:
Dec 31 15:24:20 cu046 kernel: __schedule+0x2d1/0x8869
Dec 31 15:24:20 cu046 kernel: ? blk_flush_plug_list+0x7/0x100
Dec 31 15:24:20 cu046 kernel: ? wbt_exit+0x30/0x30
Dec 31 15:24:20 cu046 kernel: ? __wbt_done+0x48/0x48
Dec 31 15:24:20 cu046 kernel: schedule+0x35/0xa0
Dec 31 15:24:20 cu046 kernel: to_schedule+0x12/0x40
Dec 31 15:24:20 cu046 kernel: rq_qos_wait+0xb2/0x130
Dec 31 15:24:20 cu046 kernel: ? karma_partition+0x1f0/0x1f0
Dec 31 15:24:20 cu046 kernel: wbt_exit+0x30/0x30
Dec 31 15:24:20 cu046 kernel: wbt_wait+0x96/0xc0
Dec 31 15:24:20 cu046 kernel: __rq_qos_throttle+0x23/0x40
Dec 31 15:24:20 cu046 kernel: blk_mq_make_request+0x131/0x5b0
Dec 31 15:24:20 cu046 kernel: generic_make_request+0xef/0x350
Dec 31 15:24:20 cu046 kernel: ? __test_set_page_writeback+0x76/0x2c0
Dec 31 15:24:20 cu046 kernel: ? get_swap_bio+0xf0/0xf0
Dec 31 15:24:20 cu046 kernel: submit_bio+0x3c/0x160
Dec 31 15:24:20 cu046 kernel: __swap_writepage+0x126/0x410
Dec 31 15:24:20 cu046 kernel: ? frontswap_store+0x6e/0x100
Dec 31 15:24:20 cu046 kernel: pageout+0xf8/0x300
Dec 31 15:24:20 cu046 kernel: shrink_page_list+0xa34/0xca0
Dec 31 15:24:20 cu046 kernel: shrink_inactive_list+0x1d1/0x440
Comment 1 小龙 admin 2025-02-11 14:14:12 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4576