diff options
| author | Scott Teel <[email protected]> | 2017-05-04 17:51:36 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-12 20:48:01 -0400 |
| commit | 3d38f00c4107cc007056db9f4ab14ecb17ed193f (patch) | |
| tree | c5b145ec38a771b42a677027361420dd2dd4ddf5 /tools/perf/scripts/python | |
| parent | 5086435e662c7b6ada6cb5f48a1215fc6f612153 (diff) | |
scsi: hpsa: separate monitor events from rescan worker
create new worker thread to monitor controller events
- both the rescan and event monitor workers can cause a rescan to occur
however for multipath we have found that we need to respond faster
than the normal scheduled rescan interval for path fail-overs.
- getting controller events only involves reading a register, but the
rescan worker can obtain an updated LUN list when there is a PTRAID
device present.
- move common code to a separate function.
advantages:
- detect controller events more frequently.
- leave rescan thread interval at 30 seconds.
Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions