sunvdc: prevent sunvdc panic when mpgroup disk added to guest domain
David Miller
AppliedFrom: Jim Quigley <[email protected]>
Date: Fri, 21 Jul 2017 09:20:15 -0400
Quoted 7 lines
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.
Quoted 8 lines
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 Jim Quigley <[email protected]>Reviewed-by Liam Merwick <[email protected]>Reviewed-by Shannon Nelson <[email protected]>Reviewed-by Alexandre Chartre <[email protected]>Reviewed-by Aaron Young <[email protected]>
Applied, thank you.