linux/drivers/scsi/megaraid
Shivasharan S 8bf7c65d37 scsi: megaraid_sas: raid 1 fast path code optimize
No functional change. Code refactor.

Remove function megasas_fpio_to_ldio as we never require to convert fpio
to ldio because of frame unavailability.  Grab extra frame of raid 1
write fast path before it creates first frame as Fast Path.  Removed
is_raid_1_fp_write flag as raid 1 write fast path command is decided
using r1_alt_dev_handle only.  Move resetting megasas_cmd_fusion fields
at common function megasas_return_cmd_fusion.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-13 07:26:21 -05:00
..
Kconfig.megaraid
Makefile
mbox_defs.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h
megaraid_mbox.c scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
megaraid_mbox.h
megaraid_mm.c megaraid: Fix possible NULL pointer deference in mraid_mm_ioctl 2016-01-08 13:03:53 -05:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas_base.c Revert "scsi: megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth" 2017-02-13 07:26:21 -05:00
megaraid_sas_fp.c scsi: megaraid_sas: raid 1 fast path code optimize 2017-02-13 07:26:21 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: raid 1 fast path code optimize 2017-02-13 07:26:21 -05:00
megaraid_sas_fusion.h scsi: megaraid_sas: raid 1 fast path code optimize 2017-02-13 07:26:21 -05:00
megaraid_sas.h Revert "scsi: megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth" 2017-02-13 07:26:21 -05:00