commit 536d9ef089b9ade35d455f1afadea9f2f70b390f
Author: Alexander Gordeev <email address hidden>
Date: Thu May 5 15:52:40 2016 +0300
Add option to choose partition alignment mode
Under certain circumstances due to that alignment, the end of
particular partition could cross 1M boundary. And due to actual
partition' bounderies being rounded up, fuel-agent mistakenly
assumes that partition couldn't fit within provided boundaries
and raises errors.WrongPartitionSchemeError.
However, some h/w data storages are well known for reporting
relatively huge optimal IO sizes (16M or even bigger), so the 1M
room can't be enough. Thus, optimal aligning is not an option.
In such cases, it's better to proceed with minimal mode.
It's the minimum aligment needed to align the partition properly
to physical blocks which avoids performance degradation.
Closes-Bug: #1543233
Change-Id: I1dd94731f497f3deb47cec9a23957e3706c2fb3b
(cherry picked from commit bf4ed24462375ed3c1741a3a28b5840f582f1588)
Reviewed: https:/ /review. openstack. org/333837 /git.openstack. org/cgit/ openstack/ fuel-agent/ commit/ ?id=536d9ef089b 9ade35d455f1afa dea9f2f70b390f
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit 536d9ef089b9ade 35d455f1afadea9 f2f70b390f
Author: Alexander Gordeev <email address hidden>
Date: Thu May 5 15:52:40 2016 +0300
Add option to choose partition alignment mode
Under certain circumstances due to that alignment, the end of WrongPartitionS chemeError.
particular partition could cross 1M boundary. And due to actual
partition' bounderies being rounded up, fuel-agent mistakenly
assumes that partition couldn't fit within provided boundaries
and raises errors.
However, some h/w data storages are well known for reporting
relatively huge optimal IO sizes (16M or even bigger), so the 1M
room can't be enough. Thus, optimal aligning is not an option.
In such cases, it's better to proceed with minimal mode.
It's the minimum aligment needed to align the partition properly
to physical blocks which avoids performance degradation.
Closes-Bug: #1543233
Change-Id: I1dd94731f497f3 deb47cec9a23957 e3706c2fb3b 3c1741a3a28b584 0f582f1588)
(cherry picked from commit bf4ed24462375ed