[Sheepdog] [PATCH 4/4] sheepdog: remove node operation headers

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Apr 21 19:32:20 CEST 2010


qemu clients don't need to know cluster membership now

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 block/sheepdog.c |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/block/sheepdog.c b/block/sheepdog.c
index 81af1be..d99befe 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -180,30 +180,6 @@ struct sd_vdi_rsp {
 	uint32_t        pad[4];
 };
 
-struct sd_node_req {
-	uint8_t		proto_ver;
-	uint8_t		opcode;
-	uint16_t	flags;
-	uint32_t	epoch;
-	uint32_t        id;
-	uint32_t        data_length;
-	uint32_t	pad[8];
-};
-
-struct sd_node_rsp {
-	uint8_t		proto_ver;
-	uint8_t		opcode;
-	uint16_t	flags;
-	uint32_t	epoch;
-	uint32_t        id;
-	uint32_t        data_length;
-	uint32_t        result;
-	uint32_t	nr_nodes;
-	uint32_t	local_idx;
-	uint32_t	master_idx;
-	uint32_t	pad[4];
-};
-
 struct sd_inode {
 	char name[SD_MAX_VDI_LEN];
 	uint64_t oid;
-- 
1.5.6.5




More information about the sheepdog mailing list