Skip to contentSkip to conversation

New: Mp2Sas and Mpt3Sas (now mpxsas) drivers are spinning forever in the IRQ handler under load condition

Bug 191471 [email protected] 1 participant 2 messages Dec 29, 2016 – Apr 3, 2017 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=191471

Bug ID: 191471
Summary: Mp2Sas and Mpt3Sas (now mpxsas) drivers are spinning
forever in the IRQ handler under load condition
Product: IO/Storage
Version: 2.5
Kernel Version: 4.7
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
Assignee: [email protected]
Reporter: [email protected]
Regression: No

When there are a lot of IO requests queued for the HW, the IRQ handler of the mpxsas driver spins forever until all requests are serviced.

Spinning in the IRQ handler forever is a bad design and causes stalls on the other cores that is unrelated to this request.

A simple solution has been posted here but rejected by the maintainer as the maintainer has been looking to offload only the slow path to task context.

https://patchwork.kernel.org/patch/7579951/

Further requests for details to resolve the issue has been unanswered.

Logging the issue here for awareness.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 191471] Mp2Sas and Mpt3Sas (now mpxsas) drivers are spinning forever in the IRQ handler under load condition

https://bugzilla.kernel.org/show_bug.cgi?id=191471

Timur Tabi ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Timur Tabi ([email protected]) --- Created attachment 255737
--> https://bugzilla.kernel.org/attachment.cgi?id=255737&action=edit
Propsed fix

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.