Commit 5ea1ada
authored
Allow full clone volumes with thin provisioning in KVM (#11177)
It adds a configuration called create.full.clone to the agent.properties file. When set to true, all QCOW2 volumes created will be full-clone. If false (default), the current behavior remains, where only FAT and SPARSE volumes are full-clone and THIN volumes are linked-clone.1 parent f62b85d commit 5ea1ada
File tree
3 files changed
+24
-3
lines changed- agent
- conf
- src/main/java/com/cloud/agent/properties
- plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage
3 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
866 | 874 | | |
867 | 875 | | |
868 | 876 | | |
| |||
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
1315 | 1317 | | |
1316 | 1318 | | |
1317 | 1319 | | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
1318 | 1323 | | |
1319 | 1324 | | |
1320 | | - | |
1321 | | - | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1322 | 1332 | | |
1323 | 1333 | | |
1324 | 1334 | | |
1325 | | - | |
| 1335 | + | |
1326 | 1336 | | |
1327 | 1337 | | |
1328 | 1338 | | |
| |||
0 commit comments