Re: [PATCH v4 11/11] libsas: add event to defer list tail instead of head when draining

2017-09-06 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCH v4 11/11] libsas: add event to defer list tail instead of head when draining

2017-09-06 Thread Jason Yan
From: chenxiang Events will be added to defer_q list when setting ha->status to SAS_HA_DRAINING. Events will be called after drain workqueue. Those events are added to the head of list, but they are scanned one by one from the head to the tail, which will cause those