System hang while reading large XFS directory via xfs_dir_lookup() and xfs_da_read_buf()

Solution Unverified - Updated -

Issue

  • System hang while reading large XFS directory via xfs_dir_lookup() and xfs_da_read_buf():
PID: 44213    TASK: ffff9674a6f8d230  CPU: 11   COMMAND: "metric"
 #0 [ffff96e0a44f36d8] __schedule at ffffffffa8d80d4a
 #1 [ffff96e0a44f3768] schedule at ffffffffa8d811f9
 #2 [ffff96e0a44f3778] schedule_timeout at ffffffffa8d7ed01
 #3 [ffff96e0a44f3828] wait_for_completion at ffffffffa8d815ad
 #4 [ffff96e0a44f3888] xfs_buf_iowait at ffffffffc04a5217 [xfs]
 #5 [ffff96e0a44f38b0] xfs_buf_submit_wait at ffffffffc04a6ddb [xfs]
 #6 [ffff96e0a44f38d0] _xfs_buf_read at ffffffffc04a6e13 [xfs]
 #7 [ffff96e0a44f38e0] xfs_buf_read_map at ffffffffc04a6f29 [xfs]
 #8 [ffff96e0a44f3928] xfs_trans_read_buf_map at ffffffffc04d7819 [xfs]
 #9 [ffff96e0a44f3968] xfs_da_read_buf at ffffffffc0484c13 [xfs]
#10 [ffff96e0a44f39e8] xfs_dir3_data_read at ffffffffc048b206 [xfs]
#11 [ffff96e0a44f3a18] xfs_dir2_leafn_lookup_for_entry at ffffffffc048f1f6 [xfs]
#12 [ffff96e0a44f3aa0] xfs_dir2_leafn_lookup_int at ffffffffc0490b17 [xfs]
#13 [ffff96e0a44f3ab0] xfs_da3_node_lookup_int at ffffffffc04861c4 [xfs]
#14 [ffff96e0a44f3b20] xfs_dir2_node_lookup at ffffffffc04917cd [xfs]
#15 [ffff96e0a44f3b60] xfs_dir_lookup at ffffffffc0488ecd [xfs]
#16 [ffff96e0a44f3bb0] xfs_lookup at ffffffffc04b9da9 [xfs]
#17 [ffff96e0a44f3bf8] xfs_vn_lookup at ffffffffc04b65c8 [xfs]
#18 [ffff96e0a44f3c30] lookup_real at ffffffffa8855973
#19 [ffff96e0a44f3c50] __lookup_hash at ffffffffa8856392
#20 [ffff96e0a44f3c80] lookup_slow at ffffffffa8d78067
#21 [ffff96e0a44f3cb8] path_lookupat at ffffffffa885b8a8
#22 [ffff96e0a44f3d50] filename_lookup at ffffffffa885b94b
#23 [ffff96e0a44f3d88] user_path_at_empty at ffffffffa885d897
#24 [ffff96e0a44f3e58] user_path_at at ffffffffa885d901
#25 [ffff96e0a44f3e68] vfs_fstatat at ffffffffa88505e3
....

Environment

  • Red Hat Enterprise Linux 7

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