| 854c3198 | 08-Sep-2015 |
Jim Harris <[email protected]> |
isci: check return value of pci_alloc_msix()
Certain VM guest types (VMware, Xen) do not support MSI, so pci_alloc_msix() always fails. isci(4) was not properly detecting the allocation failure, an
isci: check return value of pci_alloc_msix()
Certain VM guest types (VMware, Xen) do not support MSI, so pci_alloc_msix() always fails. isci(4) was not properly detecting the allocation failure, and would try to proceed with MSIx resource initialization rather than reverting to INTx.
Reported and tested by: Bradley W. Dutton ([email protected]) MFC after: 3 days Sponsored by: Intel
show more ...
|
| 3da2a91a | 30-Jun-2014 |
Scott Long <[email protected]> |
In rare cases, a SATA drive can stop responding to commands and trigger a reset device task request from the driver. If the drive fails to respond with a signature FIS, the driver would previously g
In rare cases, a SATA drive can stop responding to commands and trigger a reset device task request from the driver. If the drive fails to respond with a signature FIS, the driver would previously get into an endless retry loop, stalling all I/O to the drive and keeping user processes stranded. Instead, fail the i/o and invalidate the device if the task management command times out. This is controllable with the sysctl and tunable hw.isci.fail_on_task_timeout dev.isci.0.fail_on_task_timeout
The default for these is 1.
Reviewed by: jimharris Obtained from: Netflix, Inc. MFC after: 2 days
show more ...
|