diff options
author | 2017-02-10 00:59:18 -0800 | |
---|---|---|
committer | 2017-02-13 07:26:22 -0500 | |
commit | a09454ce5dd11184c5040ed536d323e2a302a579 (patch) | |
tree | 49f00d91792424d99cb57e68742c54dd78f70caa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: megaraid_sas: reduce size of fusion_context and use vmalloc if kmalloc fails (diff) | |
download | wireguard-linux-a09454ce5dd11184c5040ed536d323e2a302a579.tar.xz wireguard-linux-a09454ce5dd11184c5040ed536d323e2a302a579.zip |
scsi: megaraid_sas: In validate raid map, raid capability is not converted to cpu format for all lds
On a host, if an ld is deleted there is a hole in the ld array returned
by the FW. But in MR_ValidateMapInfo we are not accounting for holes in
the ld array and traverse only upto index num_lds. This patch takes
care of converting the capability field of all the valid lds in the ld
raid map.
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions