diff options
author | NeilBrown <neilb@suse.com> | 2015-07-15 17:36:21 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-08-31 19:34:21 +0200 |
commit | 05256d9884d3276f61537d3d7f5605dc21bd3477 (patch) | |
tree | 41833f3fb7fc323e30b481eabbe0802e24c40c9c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3cb5edf45457948347b5ae8cc9650c000cef4391 (diff) |
md/raid5: strengthen check on reshape_position at run.
When reshaping, we work in units of the largest chunk size.
If changing from a larger to a smaller chunk size, that means we
reshape more than one stripe at a time. So the required alignment
of reshape_position needs to take into account both the old
and new chunk size.
This means that both 'here_new' and 'here_old' are calculated with
respect to the same (maximum) chunk size, so testing if they are the
same when delta_disks is zero becomes pointless.
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions