# Re: \[PATCH\] imsm: load migration record from right disk

- From: Jes Sorensen \<hidden\>
- Date: 2016-10-26 16:01:04 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2016/10/6633189
- Thread: https://ratatoskr.run/linux-raid/2016/10/6633189/t.md

```text
Tomasz Majchrzak [ref] writes:
> Migration record is only stored on disks in first and second metadata
> slot. The function to load the record incorrectly passes disk slot as
> disk index. If rebuilt has taken place for a container, disk slot
> doesn't match disk index so it causes migration record to be read from a
> disk it has not been written to. As a result reshape operation fails.
>
> Signed-off-by: Tomasz Majchrzak <redacted>
> ---
>  super-intel.c | 12 +++---------
>  1 file changed, 3 insertions(+), 9 deletions(-)

Applied!

Thanks,
Jes
```
