aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-02-17 15:04:05 -0500
committerMike Snitzer <snitzer@redhat.com>2016-02-22 22:34:42 -0500
commitb0b477c7e0dd93f8916d106018ded1331b81bf61 (patch)
tree0b8329486138c196dc07855bbf43ad9130efbea1 /tools/perf/scripts/python/export-to-postgresql.py
parent90a4323ccfeaa2ef35a8f4c6443ee5106453d961 (diff)
dm round robin: use percpu 'repeat_count' and 'current_path'
Now that dm-mpath core is lockless in the per-IO fast path it is critical, for performance, to have the .select_path hook (rr_select_path) also be as lockless as possible. The new percpu members of 'struct selector' allow for lockless support of 'repeat_count' governed repeat use of a previously selected path. If a path fails while it is 'current_path' the worst case is concurrent IO might be mapped to the failed path until the .fail_path hook (rr_fail_path) is called. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions