diff options
author | 2017-04-06 09:12:18 +0800 | |
---|---|---|
committer | 2017-04-10 10:41:50 -0700 | |
commit | 6f287ca6046edd34ed83aafb7f9033c9c2e809e2 (patch) | |
tree | 23f7834dfb9a01e0cf70efdad3a8e7aee771610a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid6: Fix anomily when recovering a single device in RAID6. (diff) | |
download | wireguard-linux-6f287ca6046edd34ed83aafb7f9033c9c2e809e2.tar.xz wireguard-linux-6f287ca6046edd34ed83aafb7f9033c9c2e809e2.zip |
md/raid10: reset the 'first' at the end of loop
We need to set "first = 0' at the end of rdev_for_each
loop, so we can get the array's min_offset_diff correctly
otherwise min_offset_diff just means the last rdev's
offset diff.
Suggested-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions