commit | a3b831c9e167d1b7fd4f1ec371dc1b95ccf54a5d | [log] [tgz] |
---|---|---|
author | Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> | Thu Jan 25 15:12:50 2018 +0100 |
committer | Jes Sorensen <jsorensen@fb.com> | Thu Jan 25 14:31:47 2018 -0500 |
tree | c496186ee5346703aa6e0cf7805e45c7dac633b5 | |
parent | 31b6f0cdc1f36d92bb233344bbe4a4a01739d37a [diff] |
Grow.c: Block any level migration with chunk size change Mixing level and chunk changes in one grow operation is not supported. Mdadm performs level migration correctly and ignores new chunk, but after migration it tries to write this chunk to sysfs properties. This is dangerous and can cause unexpected behaviours. Block it before level migration starts. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>