> -----Original Message----- > From: Raghava Aditya Renukunta > [mailto:[email protected]] > Sent: Friday, January 19, 2018 6:02 PM > To: [email protected]; [email protected]; linux- > [email protected] > Cc: Scott Benesh <[email protected]>; Tom White > <[email protected]>; dl-esc-Aacraid Linux Driver > <[email protected]>; Guilherme G . Piccoli > <[email protected]>; Bart Van Assche <[email protected]> > Subject: [PATCH 1/3] scsi: aacraid: Implement DropIO sync command > > IOP_RESET takes longer time to complete, if controller is in a state where we > can bring it back with init struct, controller DropIO sync command is > implemented. > > - If controller is faulted perform standard IOP_RESET in aac_srcv_init. > - If controller is not faulted get adapter properties and extended > properties. > - Update the sa_firmware variable and determine if DropIO request is > supported. > - Issue DropIO request, and get the number of outstanding commands. > - If all commands are complete with success (CT_OK), consider IOP_RESET > is complete. > - If any commands timeout, Perform the IOP_RESET. > > Signed-off-by: Prasad B Munirathnam <[email protected]> > Signed-off-by: Raghava Aditya Renukunta > <[email protected]> > --- > drivers/scsi/aacraid/aacraid.h | 4 + > drivers/scsi/aacraid/src.c | 167 > +++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 163 insertions(+), 8 deletions(-)
Reviewed-by: Dave Carroll <[email protected]>

