]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Add sector size as spare selection criterion
authorAlexey Obitotskiy <aleksey.obitotskiy@intel.com>
Tue, 9 May 2017 10:25:47 +0000 (12:25 +0200)
committerJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 18:18:38 +0000 (14:18 -0400)
commit4b57ecf6cea134edff75a2f3a87ee48d52715c70
treed2512f0cb65715f863ab3930c2e453859a9886e7
parentfbfdcb06dc5b1dcb227b0394f174faa2df734700
Add sector size as spare selection criterion

Add sector size as new spare selection criterion. Assume that 0 means
there is no requirement for the sector size in the array. Skip disks
with unsuitable sector size when looking for a spare to move across
containers.

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>
Incremental.c
Monitor.c
mdadm.h
super-intel.c
util.c