commit | 052b2b1e0689b30af2608d908916a16e9dbd0919 | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Sat Dec 02 01:03:49 2017 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Dec 08 10:59:57 2017 -0500 |
tree | ed7a0895b39a80405dcd88d372ec812a73748304 | |
parent | 1af2048a3e87b4e982c53ad8cfb0c75d1a9c0a73 [diff] |
dm raid: consume sizes after md_finish_reshape() completes changing them The md raid personalities call md_finish_reshape() at the end of a reshape conversion which adjusts rdev->sectors. Correct/check rdev->sectors before initiating a reshape and raise the recovery pointer accordingly. Otherwise, the DM raid coordinated reshape will fail. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>