File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,13 @@ fast query and update. All updates are appended to the redo-log to ensure
5353they operate in O(1) time. The redo log updates are periodically flushed
5454to 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+
5663Note 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
100107The ` xenvmd ` process shall use a redo-log to ensure that metadata updates are
101108persisted 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+
103118Components: roles and responsibilities
104119======================================
105120
You can’t perform that action at this time.
0 commit comments