On 04/15/2016 09:23 AM, Sumit Saxena wrote: > This patch will do code optmization for task management functions. > Below are key changes- > 1. Remove reset_device hook as it was not being used and driver was setting > this to NULL. > 2. Create wrapper functions for task abort and target reset and inside these > functions > adapter specific calls be made. e.g. fusion adapters support task abort > and target reset > so task abort and target reset should be issued to fusion adapters only > and for MFI adapters, > print a message saying feature not supported. > > Signed-off-by: Sumit Saxena <sumit.sax...@broadcom.com> > --- > drivers/scsi/megaraid/megaraid_sas_base.c | 67 > +++++++++++++++++++++---------- > 1 file changed, 46 insertions(+), 21 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html