217 Star 774 Fork 360

GVPopenEuler / kernel

 / 详情

umount xfs hung when stopping the xfsaild kthread

Done
Bug
Opened this issue  
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

Attachments
poc.rar(30.37 KB)Download
ltx 2020-03-28 14:55

Comments (3)

ltx created缺陷
ltx set related repository to openEuler/kernel
Expand operation logs

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 set assignee to XieXiuQi
ltx changed title
ltx changed description
ltx added
 
kind/bug
label
yanzh_h assigned collaborator wangxiongfeng

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

YangYingliang changed issue state from 待办的 to 修复中
YangYingliang changed issue state from 修复中 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(5)
5329419 openeuler ci bot 1632792936 5601591 lutianxiong 1587133339
C
1
https://toscode.gitee.com/openeuler/kernel.git
git@toscode.gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search