Skip to content

Instantly share code, notes, and snippets.

@apahim
Created October 14, 2015 12:56
Show Gist options
  • Save apahim/18fe68f0cc61b460fcc9 to your computer and use it in GitHub Desktop.
Save apahim/18fe68f0cc61b460fcc9 to your computer and use it in GitHub Desktop.
T0 - No snapshots
(raw 10G)
------------
| ca8b5daa |
------------
(active)
T1 - Create S1
(raw 10G) (cow)
------------ ------------
| ca8b5daa |---| a116e7d7 |
------------ ------------
(active)
T2 - Create S2
(raw 10G) (cow) (cow)
------------ ------------ ------------
| ca8b5daa |---| a116e7d7 |---| 23c187fe |
------------ ------------ ------------
(active)
T3 - Preview S1
(raw 10G) (cow) (cow)
------------ ------------ ------------
| ca8b5daa |---| a116e7d7 |---| 23c187fe |
------------ ------------ ------------
|
| (cow)
| ------------
---------| 00d83dd2 |
------------
(active)
T4 - Commit S1
(raw 10G)
------------
| ca8b5daa |
------------
| (cow)
| ------------
---------| 00d83dd2 |
------------
(active)
T5 - Delete S1
(raw 10G)
------------
| ca8b5daa |
------------
| (cow)
| ------------
---------| 00d83dd2 |----
------------ |
(active) |
| qemu-img convert
(raw 10G) |
------------------ <----------
| 00d83dd2_MERGE | -----------
------------------ |
|
| rename
(raw 10G) |
------------ |
| 00d83dd2 | <---------------
------------
(active)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment