Re: [PATCH 1/3] scsi: hisi_sas: service v2 hw CQ ISR with tasklet

From: zhangfei
Date: Tue Jan 03 2017 - 20:19:43 EST




On 2017å01æ03æ 20:24, John Garry wrote:
Currently the all the slot processing for the completion
queue is done in ISR context. It is judged that the slot
processing can take a long time, especially when a SATA
NCQ completes (upto 32 slots).

So, as a solution, defer the bulk of the ISR processing
to tasklet context. Each CQ will have its down tasklet.

Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
Reviewed-by: Xiang Chen <chenxiang66@xxxxxxxxxxxxx>
Reviewed-by: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>