]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: don't allow disks with different sector size in one array
authorAlexey Obitotskiy <aleksey.obitotskiy@intel.com>
Tue, 9 May 2017 10:25:45 +0000 (12:25 +0200)
committerJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 18:18:35 +0000 (14:18 -0400)
commitf2cc4f7d829e1b849e78bdf6c38b7bd6e234c600
treeb1cc2baf3c4ed64ea58c280e80de1025d5f5b6c7
parent853375734edcfd70ba64b444b9e69f7e336a30b7
imsm: don't allow disks with different sector size in one array

As there is no support in IMSM for arrays including disks with different
sector sizes, don't allow to create such configuration. Also skip the
disk with unsuitable sector size when looking for spares in the same
container.

Signed-off-by: Alexey Obitotskiy <aleksey.obitotskiy@intel.com>
Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c