diff options
author | Hannes Reinecke <[email protected]> | 2014-02-28 15:33:49 +0100 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2014-03-27 16:56:25 -0400 |
commit | 3a0175096423856d145e210527271c9eec188a5f (patch) | |
tree | 01ef8a823a28a27f9c82e3b167e2963097fc47d6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 9bf59a611a5eb479f321fae34adc9f948de0a42f (diff) |
dm-mpath: do not activate failed paths
activate_path() is run without a lock, so the path might be
set to failed before activate_path() had a chance to run.
This patch add a check for ->active in activate_path() to
avoid unnecessary overhead by calling functions which are known
to be failing.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Jun'ichi Nomura <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions