394 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

umount xfs hung when stopping the xfsaild kthread

已完成
缺陷
创建于  
2020-03-28 15:03

step to reproduce:
mount poc.img tmp_dir; ./poc tmp_dir; umount tmp_dir

kernel version:
Linux openEuler 4.19.90-2003.4.0.0036.oe1.aarch64 #1 SMP Sun Mar 22 10:27:00 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

message:
[10755.041294] INFO: task xfsaild/loop0:9016 blocked for more than 120 seconds.
[10755.044078] Tainted: G W 4.19.90-2003.4.0.0036.oe1.aarch64 #1
[10755.046622] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[10755.049063] xfsaild/loop0 D 0 9016 2 0x00000228
[10755.051235] Call trace:
[10755.052891] __switch_to+0xe4/0x148
[10755.054705] __schedule+0x2ac/0x970
[10755.056408] schedule+0x2c/0x88
[10755.058107] schedule_timeout+0x22c/0x468
[10755.059855] __down+0xa0/0x138
[10755.061641] down+0x8c/0x90
[10755.063342] xfs_buf_lock+0x38/0x148 [xfs]
[10755.065214] xfs_buf_delwri_cancel+0x38/0x98 [xfs]
[10755.067136] xfsaild+0x164/0x248 [xfs]
[10755.069036] kthread+0x134/0x138
[10755.070750] ret_from_fork+0x10/0x18
[10755.072409] INFO: task umount:10105 blocked for more than 120 seconds.
[10755.074537] Tainted: G W 4.19.90-2003.4.0.0036.oe1.aarch64 #1
[10755.076761] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[10755.079065] umount D 0 10105 7965 0x00000208
[10755.080996] Call trace:
[10755.082589] __switch_to+0xe4/0x148
[10755.084188] __schedule+0x2ac/0x970
[10755.085837] schedule+0x2c/0x88
[10755.087382] schedule_timeout+0x22c/0x468
[10755.089069] wait_for_common+0x184/0x290
[10755.090918] wait_for_completion+0x28/0x38
[10755.092614] kthread_stop+0x60/0x1a0
[10755.094368] xfs_trans_ail_destroy+0x24/0x38 [xfs]
[10755.096295] xfs_log_unmount+0x2c/0x68 [xfs]
[10755.098193] xfs_unmountfs+0xdc/0x170 [xfs]
[10755.100293] xfs_fs_put_super+0x40/0x98 [xfs]
[10755.102363] generic_shutdown_super+0x74/0x128
[10755.104057] kill_block_super+0x2c/0x70
[10755.105751] deactivate_locked_super+0x64/0x90
[10755.107396] deactivate_super+0x74/0x80
[10755.108971] cleanup_mnt+0x44/0xa0
[10755.110574] __cleanup_mnt+0x20/0x30
[10755.112021] task_work_run+0xbc/0xf0
[10755.113521] do_notify_resume+0x12c/0x138
[10755.115016] work_pending+0x8/0x10

附件
poc.rar(30.37 KB)下载
ltx 2020-03-28 14:55

评论 (3)

ltx 创建了缺陷
ltx 关联仓库设置为openEuler/kernel
展开全部操作日志

Hey @ltx, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

ltx 负责人设置为Xie XiuQi
ltx 修改了标题
ltx 修改了描述
ltx 添加了
 
kind/bug
标签
yanzh_h 添加协作者wangxiongfeng
Charlie_Li 里程碑设置为openEuler 20.03-LTS

@Xie XiuQi
这个问题现在有什么进展吗

YangYingliang 任务状态待办的 修改为修复中
YangYingliang 任务状态修复中 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(5)
5329419 openeuler ci bot 1632792936 5601591 lutianxiong 1587133339
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助

14c37bed 8189591 565d56ea 8189591