commit | e6c346f303d41b8799ea224d0faf1b2caa1c98db | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Tue Sep 06 23:36:11 2016 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Sep 14 12:54:17 2016 -0400 |
tree | 5ab81caef92f48c4960acefc2e66605b2e05eab4 | |
parent | c4a11827b760ef8dcda26b5731d072b1d8fb7c81 [diff] |
scsi: hisi_sas: save completion queue read pointer Optimise by saving an avoidable read in the cq interrupt. The queue read pointer will only be updated by software, so don't bother re-reading what was already written in the previous interrupt. Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>