During port disable operations "SG_IO" ioctl sent on device gets stuck in kernel and never returns causing system hang.
Issue
-
SG_IO ioctl gets stuck in kernel. Steps to Reproduce:
Have a thread running SG_IO ioctl to devices
disable/enable ports in loop
sometimes it causes SG_IO to get stuck -
When the qla2xxx driver loses access to multiple, remote ports, there is a race condition which can occur which will keep the request stuck on a scsi request queue indefinitely.
Environment
- Red Hat Enterprise Linux 6
- kernel-2.6.32-220.el6.x86_64
- qla2xxx driver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.