Skip to content

Commit 9f209e0

Browse files
committed
Merge pull request #114 from jonludlam/thin-lvhd-updates
Thin lvhd updates
2 parents be6a1f0 + 7abc716 commit 9f209e0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

xapi/futures/thin-lvhd/thin-lvhd.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ fast query and update. All updates are appended to the redo-log to ensure
5353
they operate in O(1) time. The redo log updates are periodically flushed
5454
to the primary LVM metadata.
5555

56+
Since the operations are stored in the redo-log and will only be removed
57+
after the real metadata has been written, the implication is that it is
58+
possible for the operations to be performed more than once. This will
59+
occur if the xenvmd process exits between flushing to the real metadata
60+
and acknowledging the operations as completed. For this to work as expected,
61+
every individual operation stored in the redo-log _must_ be idempotent.
62+
5663
Note on running out of blocks
5764
-----------------------------
5865

@@ -100,6 +107,14 @@ When the SM backend wishes to query or update volume group metadata it should us
100107
The `xenvmd` process shall use a redo-log to ensure that metadata updates are
101108
persisted in constant time and flushed lazily to the regular metadata area.
102109

110+
Tunnelling through xapi will be done by POSTing to the localhost URI
111+
112+
/services/xenvmd/<SR uuid>
113+
114+
Xapi will the either proxy the request transparently to the SRmaster, or issue an
115+
http level redirect that the xenvm CLI would need to follow.
116+
117+
103118
Components: roles and responsibilities
104119
======================================
105120

0 commit comments

Comments
 (0)