diff options
| author | 2019-08-05 21:48:04 +0800 | |
|---|---|---|
| committer | 2019-08-07 22:13:15 -0400 | |
| commit | d380f55503ed28461422546900baedc3b512b4b7 (patch) | |
| tree | f8dcfe78a34d033b506b88143385338c5a6306d6 /tools/perf/scripts/python | |
| parent | scsi: hisi_sas: Fix out of bound at debug_I_T_nexus_reset() (diff) | |
scsi: hisi_sas: Don't bother clearing status buffer IU in task prep
For struct hisi_sas_status_buffer, it contains struct hisi_sas_err_record
and iu[1024]. The struct iu[1024] will be filled fully by the response of
disks, so it is not need to initialize them to 0, but for the struct
hisi_sas_err_record, SAS controller only fill some fields of
hisi_sas_err_record according to hw designer, so it should be initialised
to 0. After the change, cpu utilization percentage of memset() is changed
from 1.7% to 0.12%.
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
