System hangs due to xlog_grant_head_wait in Red hat Enterprise Linux 8

Solution Verified - Updated -

Issue

  • System hangs with the following backtrace.
PID: 2543   TASK: ffff88ec1d4a5c40  CPU: 11  COMMAND: "kworker/11:2"
 #0 [ffffacfc087f7be0] __schedule at ffffffff82cd1826
 #1 [ffffacfc087f7c78] schedule at ffffffff82cd1cb8
 #2 [ffffacfc087f7c88] xlog_grant_head_wait at ffffffffc088c3e1 [xfs]
 #3 [ffffacfc087f7cc0] xlog_grant_head_check at ffffffffc088ccae [xfs]
 #4 [ffffacfc087f7cf8] xfs_log_reserve at ffffffffc088f2f3 [xfs]
 #5 [ffffacfc087f7d30] xfs_trans_reserve at ffffffffc08891fe [xfs]
 #6 [ffffacfc087f7d68] xfs_trans_alloc at ffffffffc088a80a [xfs]
 #7 [ffffacfc087f7da8] xfs_iomap_write_unwritten at ffffffffc0877b1e [xfs]
 #8 [ffffacfc087f7e28] xfs_end_ioend at ffffffffc085f4e4 [xfs]
 #9 [ffffacfc087f7e60] xfs_end_io at ffffffffc0860049 [xfs]
#10 [ffffacfc087f7e98] process_one_work at ffffffff824d3477
#11 [ffffacfc087f7ed8] worker_thread at ffffffff824d3b40
#12 [ffffacfc087f7f10] kthread at ffffffff824d9502
#13 [ffffacfc087f7f50] ret_from_fork at ffffffff82e0023f

Environment

  • Red Hat Enterprise Linux 8

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