System slowdown and hung tasks during raid reshape

Solution Unverified - Updated -

Issue

  • System has hung task during raid reshape:

    INFO: task systemd-udevd:558 blocked for more than 122 seconds.
      Tainted: G           OE     -------  ---  5.14.0-362.8.1.el9_3.x86_64 #1
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    task:systemd-udevd   state:D stack:0     pid:558   ppid:551    flags:0x00000006
    Call Trace:
    <TASK>
    __schedule+0x20a/0x550
    schedule+0x2d/0x70
    schedule_timeout+0x11f/0x160
    ? make_stripe_request+0x184/0x350 [raid456]
    wait_woken+0x50/0x70
    raid5_make_request+0x2cb/0x3e0 [raid456]
    ? __pfx_woken_wake_function+0x10/0x10
    md_handle_request+0x12e/0x220
    __submit_bio+0x86/0x130
    __submit_bio_noacct+0x81/0x1f0
    mpage_readahead+0x15c/0x1d0
    ? __pfx_blkdev_get_block+0x10/0x10
    read_pages+0x58/0x2f0
    page_cache_ra_unbounded+0x137/0x180
    force_page_cache_ra+0xc5/0xf0
    filemap_get_pages+0xec/0x350
    filemap_read+0xb9/0x3c0
    ? __do_sys_newfstatat+0x35/0x60
    blkdev_read_iter+0xaf/0x170
    new_sync_read+0xf9/0x180
    vfs_read+0x13c/0x190
    ....
    

Environment

  • Red Hat Enterprise Linux 9
  • 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