diff options
author | Chaitra P B <[email protected]> | 2018-04-24 05:28:38 -0400 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-05-08 00:34:20 -0400 |
commit | 22a923c315ba09a83ef88ff1d968413d9dd8fb75 (patch) | |
tree | 95b7e55bda97b5f0fb7bac71eef8d5219d321de6 /tools/perf/scripts/python/sched-migration.py | |
parent | 79eb96d6ca6971e79a3770991a12a16fde871e90 (diff) |
scsi: mpt3sas: Cache enclosure pages during enclosure add.
In function _scsih_add_device, for each device connected to an
enclosure, driver reads the enclosure page(To get details like enclosure
handle, enclosure logical ID, enclosure level etc.)
With this patch, instead of reading enclosure page everytime, driver
maintains a list for enclosure device(During enclosure add event,
enclosure device is added to the list and removed from the list on
delete events) and uses the enclosure page from the list.
Signed-off-by: Chaitra P B <[email protected]>
Signed-off-by: Suganath Prabu S <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions