Skip to content

storage: avoid writing the whole device in migration tests#450

Merged
stormi merged 2 commits into
masterfrom
gln/test-storage-migration-optimize-kvmx
May 12, 2026
Merged

storage: avoid writing the whole device in migration tests#450
stormi merged 2 commits into
masterfrom
gln/test-storage-migration-optimize-kvmx

Conversation

@glehmann
Copy link
Copy Markdown
Member

@glehmann glehmann commented Mar 31, 2026

This PR is part of a tree containing 19 PRs:

  1. master
  2. storage: avoid removing the xva/vdi before going in the debugger #436master
  3. storage: test large volumes #437storage: avoid removing the xva/vdi before going in the debugger #436
  4. host: include mdadm RAID devices in disk detection #447storage: test large volumes #437
  5. Update randstream to 0.5.0 #446host: include mdadm RAID devices in disk detection #447
  6. storage: Avoid writing the whole device in coalesce tests #449Update randstream to 0.5.0 #446
  7. "storage: avoid writing the whole device in migration tests" (this PR) → storage: Avoid writing the whole device in coalesce tests #449
  8. xva/vdi: only write a small data amount in large volumes for faster tests #452storage: avoid writing the whole device in migration tests #450
  9. storage: test full device write #453xva/vdi: only write a small data amount in large volumes for faster tests #452
  10. storage: test that we can't create a vdi over its max allowed size #454storage: test full device write #453
  11. storage: add jobs for large volume tests #461storage: test that we can't create a vdi over its max allowed size #454
  12. skip large volume tests for zvol and nfsv4 #464storage: add jobs for large volume tests #461
  13. storage: add comprehensive tests for lvmohba storage repositories #470skip large volume tests for zvol and nfsv4 #464
  14. storage: free space for XVA import by destroying source VM first #471storage: add comprehensive tests for lvmohba storage repositories #470
  15. storage: limit data written per VDI with --write-volume-cap #481storage: free space for XVA import by destroying source VM first #471
  16. Add Packer configuration to build a minimal Alpine 3.23 UEFI VM for XCP-ng tests #523storage: limit data written per VDI with --write-volume-cap #481
  17. migration: create a xfs sr on the second host for intra/cross-pool migration #497storage: limit data written per VDI with --write-volume-cap #481
  18. Enhance block device management #498migration: create a xfs sr on the second host for intra/cross-pool migration #497
  19. Add VHD_MAX and QCOW2_MAX symbolic size constants #500Enhance block device management #498
  20. partially_populate_device: align span positions to block size for better performance #509Add VHD_MAX and QCOW2_MAX symbolic size constants #500

@glehmann glehmann requested review from a team as code owners March 31, 2026 14:18
Comment thread tests/storage/storage.py
@olivierh-pro olivierh-pro requested a review from a team March 31, 2026 16:05
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from 3b66c5b to ca168c5 Compare March 31, 2026 18:27
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from be74908 to 7737b38 Compare March 31, 2026 18:27
@glehmann glehmann changed the title storage: avoid writing the whole device in migration tests gln/test-storage-migration-optimize-kvmx Mar 31, 2026
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from 7737b38 to 46f10dd Compare March 31, 2026 20:33
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch 2 times, most recently from a58140c to 9e09978 Compare March 31, 2026 20:36
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from 46f10dd to 5d35a98 Compare March 31, 2026 20:36
@glehmann glehmann changed the title gln/test-storage-migration-optimize-kvmx storage: avoid writing the whole device in migration tests Apr 6, 2026
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from 9e09978 to 28a8042 Compare April 7, 2026 13:20
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch 2 times, most recently from 0ba3db6 to ffe6824 Compare April 7, 2026 13:32
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from 28a8042 to 9cd481c Compare April 7, 2026 13:32
@olivierh-pro olivierh-pro requested a review from a team April 7, 2026 14:45
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from ffe6824 to bce3301 Compare April 8, 2026 20:28
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from 8d5454b to 8cb990b Compare April 16, 2026 18:00
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from c594a03 to 3ef0c7f Compare April 16, 2026 18:00
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from 8cb990b to 9f50c51 Compare April 17, 2026 13:52
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from 3ef0c7f to 9988aaf Compare April 17, 2026 13:52
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from 9f50c51 to cd8b0b7 Compare April 21, 2026 06:08
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch 2 times, most recently from 5ed2bbc to 6024db3 Compare April 24, 2026 14:56
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from cd8b0b7 to a4ee596 Compare April 24, 2026 14:57
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from 6024db3 to 94b427a Compare April 29, 2026 17:39
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from a4ee596 to 5aa5f98 Compare April 29, 2026 17:39
glehmann added 2 commits May 11, 2026 17:48
Use partial device population in cold migration tests to speed up testing
while maintaining integrity verification across multiple migrations.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
Use partial device population in live migration tests to speed up testing
while maintaining integrity verification across multiple migrations.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
@glehmann glehmann force-pushed the gln/storage-coalesce-test-optimization-rzlk branch from 94b427a to accd1d0 Compare May 11, 2026 15:48
@glehmann glehmann force-pushed the gln/test-storage-migration-optimize-kvmx branch from 5aa5f98 to 111f53c Compare May 11, 2026 15:49
Base automatically changed from gln/storage-coalesce-test-optimization-rzlk to master May 12, 2026 12:56
@stormi stormi merged commit 5aafec1 into master May 12, 2026
9 checks passed
@stormi stormi deleted the gln/test-storage-migration-optimize-kvmx branch May 12, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants