]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xsigo: Compute node crash on FC failover
authorPradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Mon, 24 Apr 2017 20:37:10 +0000 (13:37 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 06:06:56 +0000 (23:06 -0700)
commit80050c8ee0554e310c6291b99b046eaa1e89f38a
treed3fe9b374a05cda49fc32737c565ce45266f693e
parent71e3e7d3487821ad11cd161382b2285183c74f33
xsigo: Compute node crash on FC failover

Orabug: 25981973

xsvhba's internally generated scsi command timeout code prematurely completes
a command rather than relying on qlogic to complete with "CMD_TIMEOUT" code.
Actual command completes just after xsigo timeout completion and
causes the freed buffer to be overwritten with inquiry data.
These code changes will allow scsi mid layer to do the recovery.
The original xsigo timeout code is not there in ESX xsvhba source code and was
mistakenly brought over in uek.

Reviewed-by: sajid.zia@oracle.com
Signed-off-by: Pradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Signed-off-by: said.zia@oracle.com
drivers/infiniband/ulp/xsigo/xsvhba/vhba_scsi_intf.c