Skip to content
Commit 51c928c3 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] Legacy MegaRAID: Fix READ CAPACITY



Some Legacy megaraid cards can't actually cope with the scatter/gather
version of the READ CAPACITY command (which is what we now send them
since altering all SCSI internal I/O to go via the block layer).  Fix
this (and a few other broken megaraid driver assumptions) by sending
the non-sg version of the command if the sg list only has a single
element.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 97af50f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment