[Sheepdog] [PATCH] add vm_clock_nsec and vm_state_size for live snapshot

OZAWA Tsuyoshi ozawa.tsuyoshi at lab.ntt.co.jp
Mon Apr 19 10:40:52 CEST 2010


Add vm_clock_nsec and vm_state_size to sheepdog_inode for live snapshot. 
To work live snapshot patch correctly, this patch is needed.

Signed-off-by: OZAWA Tsuyoshi <ozawa.tsuyoshi at lab.ntt.co.jp>
---
 include/meta.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/meta.h b/include/meta.h
index 7f88c4d..34b297b 100644
--- a/include/meta.h
+++ b/include/meta.h
@@ -41,7 +41,9 @@ struct sheepdog_inode {
 	uint64_t oid;
 	uint64_t ctime;
 	uint64_t snap_ctime;
+	uint64_t vm_clock_nsec;
 	uint64_t vdi_size;
+	uint64_t vm_state_size;
 	uint16_t copy_policy;
 	uint8_t  nr_copies;
 	uint8_t  block_size_shift;
-- 
1.6.5




More information about the sheepdog mailing list