diff options
| author | Peng Tao <tao.peng@primarydata.com> | 2014-11-10 08:35:35 +0800 |
|---|---|---|
| committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 11:06:48 -0800 |
| commit | 48d635f14a544c2b3ca870d2c7349b41160496d2 (patch) | |
| tree | 3482ecc1445a13fb60941213930078da302869ff /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 47af81f29556a45493e5c87289c3c16ce911096c (diff) | |
nfs: add nfs_pgio_current_mirror helper
Let it return current nfs_pgio_mirror in use depending on pg_mirror_count.
For read, we always use pg_mirrors[0], so this effectively gives us freedom
to use pg_mirror_idx to track the actual mirror to read from through out the
IO stack.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
