Skip to content
Commit 3ee70591 authored by Jim Quigley's avatar Jim Quigley Committed by David S. Miller
Browse files

sunvdc: prevent sunvdc panic when mpgroup disk added to guest domain



Using mpgroup to define multiple paths for a virtual disk causes multiple
virtual-device-port ports to be created for that virtual device.
Each virtual-device-port port then gets a vdisk created for it by the Linux
sunvdc driver. As mpgroup is not supported by the Linux sunvdc driver it
cannot handle multiple ports for a single vdisk, leading to a kernel panic
at startup.

This fix prevents more than one vdisk per virtual-device-port being created
until full virtual disk multipathing (mpgroup) support is implemented.

Signed-off-by: default avatarJim Quigley <Jim.Quigley@oracle.com>
Reviewed-by: default avatarLiam Merwick <liam.merwick@oracle.com>
Reviewed-by: default avatarShannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: default avatarAlexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: default avatarAaron Young <aaron.young@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fdaccf74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment