mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-22 16:20:42 +01:00
77bd034e8d
* CA-359965: Consider `physical_utilisation` value when checking for free space in thinly provisioned SRs * CA-359965: Fix miscellaneous formatting issues * Made SrPickerItem show the SR by default. Removed virtual method that was never overriden. * Use slightly more intuitive name for property; also inverted its logic. * Renamed VdiCreationCanProceed to the more specific CanFitDisks since it only deals with sizes. * Re-arranged classes in file. * Refactored SrPickerItem: - Merged CanBeEnabled and DisabledReason properties to method CanBeEnabled(out disabledREason) to avoid running the same checks twice. - Pass the disk instead of the size into extension method SR.CanFitDisks so that the correct size can be used for each storage (thin vs. non-thin provision). * Correction as per code review and some tweaks to make the checks clearer and more efficient. Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com> Co-authored-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> |
||
---|---|---|
.. | ||
PlanActions | ||
RollingUpgradeExtrasPage.cs | ||
RollingUpgradeExtrasPage.Designer.cs | ||
RollingUpgradeExtrasPage.ja.resx | ||
RollingUpgradeExtrasPage.resx | ||
RollingUpgradeExtrasPage.zh-CN.resx | ||
RollingUpgradeUpgradePage.cs | ||
RollingUpgradeUpgradePage.designer.cs | ||
RollingUpgradeWizard_FirstPage.cs | ||
RollingUpgradeWizard_FirstPage.Designer.cs | ||
RollingUpgradeWizard_FirstPage.ja.resx | ||
RollingUpgradeWizard_FirstPage.resx | ||
RollingUpgradeWizard_FirstPage.zh-CN.resx | ||
RollingUpgradeWizard_UpgradeMode.cs | ||
RollingUpgradeWizard_UpgradeMode.Designer.cs | ||
RollingUpgradeWizard_UpgradeMode.ja.resx | ||
RollingUpgradeWizard_UpgradeMode.resx | ||
RollingUpgradeWizard_UpgradeMode.zh-CN.resx | ||
RollingUpgradeWizard.cs | ||
RollingUpgradeWizard.Designer.cs | ||
RollingUpgradeWizard.ja.resx | ||
RollingUpgradeWizard.resx | ||
RollingUpgradeWizard.zh-CN.resx | ||
RollingUpgradeWizardPrecheckPage.cs | ||
RollingUpgradeWizardPrecheckPage.Designer.cs | ||
RollingUpgradeWizardSelectPool.cs | ||
RollingUpgradeWizardSelectPool.Designer.cs | ||
RollingUpgradeWizardSelectPool.ja.resx | ||
RollingUpgradeWizardSelectPool.resx | ||
RollingUpgradeWizardSelectPool.zh-CN.resx |