linux_dsm_epyc7002/drivers/scsi/megaraid
Chandrakanth Patil 59db5a931b scsi: megaraid_sas: Handle sequence JBOD map failure at driver level
Issue: This issue is applicable to scenario when JBOD sequence map is
unavailable (memory allocation for JBOD sequence map failed) to driver but
feature is supported by firmware.  If the driver sends a JBOD IO by not
adding 255 (MAX_PHYSICAL_DEVICES - 1) to device ID when underlying firmware
supports JBOD sequence map, it will lead to the IO failure.

Fix: For JBOD IOs, driver will not use the RAID map to fetch the devhandle
if JBOD sequence map is unavailable. Driver will set Devhandle to 0xffff
and Target ID to 'device ID + 255 (MAX_PHYSICAL_DEVICES - 1)'.

Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-06-27 00:07:35 -04:00
..
Kconfig.megaraid scsi: megaraid_sas: IRQ poll to avoid CPU hard lockups 2019-06-18 19:46:19 -04:00
Makefile scsi: megaraid_sas: Export RAID map through debugfs 2019-06-18 19:46:20 -04:00
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
megaraid_mbox.h scsi: megaraid: fix spelling mistake "maibox" -> "mailbox" 2018-09-25 20:59:27 -04:00
megaraid_mm.c scsi: megaraid_sas: NULL check before some freeing functions is not needed 2018-12-07 21:46:22 -05:00
megaraid_mm.h
megaraid_sas_base.c scsi: megaraid_sas: Handle sequence JBOD map failure at driver level 2019-06-27 00:07:35 -04:00
megaraid_sas_debugfs.c scsi: megaraid_sas: Remove unused including <linux/version.h> 2019-06-18 19:46:25 -04:00
megaraid_sas_fp.c scsi: megaraid_sas: use octal permissions instead of constants 2019-06-18 19:46:25 -04:00
megaraid_sas_fusion.c scsi: megaraid_sas: Handle sequence JBOD map failure at driver level 2019-06-27 00:07:35 -04:00
megaraid_sas_fusion.h scsi: megaraid_sas: Export RAID map through debugfs 2019-06-18 19:46:20 -04:00
megaraid_sas.h scsi: megaraid_sas: Handle sequence JBOD map failure at driver level 2019-06-27 00:07:35 -04:00