]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: FIX: Limit migration record operation by disk slot not by index
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 12 Dec 2011 11:07:45 +0000 (12:07 +0100)
committerNeilBrown <neilb@suse.de>
Tue, 13 Dec 2011 01:53:01 +0000 (12:53 +1100)
commit3136abe58536334dc28d943f7b122a0327a5e540
treec988151333ae09ed2654ca1a0455c8f7bfa28ed7
parent238c0a71dc3288807fd5f7328f2d9d3bdfe7a9f6
imsm: FIX: Limit migration record operation by disk slot not by index

imsm should store migration record in to 2 first disks in array.
This should be evaluated based on disk slots, not on disks index.
It is not guaranteed that indexes are equal to slots.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c