umount hang in xfs_ail_push_all_sync

Solution Verified - Updated -

Issue

  • umount hang in xfs_ail_push_all_sync with "xfs_log_force: error -5 returned"
INFO: task umount:10371 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
umount          D ffff885e6c588110     0 10371      1 0x00000006
 ffff88be66af7d90 0000000000000086 ffff88be669cd080 ffff88be66af7fd8
 ffff88be66af7fd8 ffff88be66af7fd8 ffff88be669cd080 ffff885e6c588100
 ffff885b8bf74980 ffff885e6c588140 ffff885e6c588168 ffff885e6c588110
Call Trace:
 [<ffffffff8163a909>] schedule+0x29/0x70
 [<ffffffffa0211c41>] xfs_ail_push_all_sync+0xc1/0x110 [xfs]
 [<ffffffff810a6ae0>] ? wake_up_atomic_t+0x30/0x30
 [<ffffffffa01fcb08>] xfs_unmountfs+0x68/0x190 [xfs]
 [<ffffffffa01fd5eb>] ? xfs_mru_cache_destroy+0x6b/0x90 [xfs]
 [<ffffffffa01ff9c2>] xfs_fs_put_super+0x32/0x90 [xfs]
 [<ffffffff811e0ab6>] generic_shutdown_super+0x56/0xe0
 [<ffffffff811e0f07>] kill_block_super+0x27/0x70
 [<ffffffff811e1249>] deactivate_locked_super+0x49/0x60
 [<ffffffff811e1846>] deactivate_super+0x46/0x60
 [<ffffffff811fe785>] mntput_no_expire+0xc5/0x120
 [<ffffffff811ff8bf>] SyS_umount+0x9f/0x3c0
 [<ffffffff81645909>] system_call_fastpath+0x16/0x1b

Environment

  • Red Hat Enterprise Linux 7.4
  • kernel-3.10.0-693.el7 or earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content