On 02/06/2017 10:59 AM, Shivasharan S wrote: > 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@xxxxxxxxxxxx> > Signed-off-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxx> > --- > drivers/scsi/megaraid/megaraid_sas_fp.c | 14 +- > drivers/scsi/megaraid/megaraid_sas_fusion.c | 348 +++++++++------------------- > drivers/scsi/megaraid/megaraid_sas_fusion.h | 3 +- > 3 files changed, 117 insertions(+), 248 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)