Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: add new configuration for volume chunk size #381

Merged
merged 1 commit into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,9 @@ public enum ConfigValues {
@TypeConverterAttribute(Integer.class)
LiveSnapshotFreezeTimeout,

@TypeConverterAttribute(Integer.class)
VolumeUtilizationChunkInMB,

@TypeConverterAttribute(Boolean.class)
IsIncrementalBackupSupported,

Expand Down
1 change: 1 addition & 0 deletions packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ select fn_db_add_config_value_for_versions_up_to('BiosTypeSupported', 'true', '4
select fn_db_add_config_value('LiveSnapshotTimeoutInMinutes', '30', 'general');
select fn_db_add_config_value('LiveSnapshotAllowInconsistent', 'true', 'general');
select fn_db_add_config_value('LiveSnapshotFreezeTimeout', '8', 'general');
select fn_db_add_config_value('VolumeUtilizationChunkInMB', '2560', 'general'); -- Cluster level 4.7 and above.

-- VirtIO-Win drivers path
select fn_db_add_config_value('VirtioWinIsoPath','/usr/share/virtio-win','general');
Expand Down
3 changes: 3 additions & 0 deletions packaging/etc/engine-config/engine-config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,9 @@ LiveSnapshotPerformFreezeInEngine.type=Boolean
LiveSnapshotFreezeTimeout.description=The live snapshot command without memory timeout in minutes
LiveSnapshotFreezeTimeout.type=Integer
LiveSnapshotFreezeTimeout.validValues=1..3000
VolumeUtilizationChunkInMB.description="Size of extension chunk in megabytes. Use higher values to extend in bigger chunks. WARNING: If it's changed, please make sure to change the corresponding value in VDSM (see: https://github.com/oVirt/vdsm/blob/v4.50.1/lib/vdsm/common/config.py.in#L325)!"
VolumeUtilizationChunkInMB.type=Integer
VolumeUtilizationChunkInMB.validValues=1024..4096
# Incremental backup
IsIncrementalBackupSupported.description=Enable incremental backup operations for a VM.
IsIncrementalBackupSupported.type=Boolean
Expand Down