Re: [PATCH v2 2/6] hisi_sas: add hisi_sas_slot_abort()

From: Hannes Reinecke
Date: Sat Feb 27 2016 - 06:58:00 EST


On 02/25/2016 05:42 PM, John Garry wrote:
> Add a function to abort a slot (task) in the target
> device and then cleanup and complete the task.
> The function is called from work queue context as
> it cannot be called from the context where it is
> triggered (interrupt).
> Flag hisi_sas_slot.abort is added as the flag used
> in the slot error handler to indicate whether the
> slot needs to be aborted in the sdev prior to
> cleanup and finish.
>
> Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
> ---
Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@xxxxxxx +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)