System hang after smartpqi reset due to wait in pqi_wait_for_lun_reset_completion()

Solution Verified - Updated -

Issue

  • System hangs after smartpqi reset:
smartpqi 0000:86:00.0: resetting scsi 1:1:0:0
INFO: task jbd2/dm-15-8:1234 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
jbd2/dm-15-8    D ffff95213c07b760     0  1234      2 0x00000000
....

PID: 465    TASK: ffff952139102100  CPU: 19  COMMAND: "scsi_eh_1"
 #0 [ffff95213900bb40] __schedule at ffffffff8198c018
 #1 [ffff95213900bba8] schedule at ffffffff8198c3e9
 #2 [ffff95213900bbb8] schedule_timeout at ffffffff81989ff8
 #3 [ffff95213900bc60] io_schedule_timeout at ffffffff8198bc9d
 #4 [ffff95213900bc90] wait_for_completion_io_timeout at ffffffff8198c8e5
 #5 [ffff95213900bcf0] pqi_eh_device_reset_handler at ffffffffc01a828c [smartpqi]
 #6 [ffff95213900bd90] scsi_try_bus_device_reset at ffffffff816e66bd
 #7 [ffff95213900bda8] scsi_eh_ready_devs at ffffffff816e893f
 #8 [ffff95213900be30] scsi_error_handler at ffffffff816ea39c
 #9 [ffff95213900bec8] kthread at ffffffff812c5e61
#10 [ffff95213900bf50] ret_from_fork_nospec_begin at ffffffff81999ddd

Environment

  • Red Hat Enterprise Linux 7
  • smartpqi

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