From e830dfd18da81d9dc7a0eafd3e045e7d4aba0f11 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 19 Apr 2007 11:56:37 +1000 Subject: much simpler fetch code! fetch is now confined to the client code, no spcial code at all in the daemon. (This used to be ctdb commit 3ec801c9717e250b902760862df188e03c9bdbf4) --- ctdb/include/ctdb_private.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ctdb/include') diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 8e569a7d04..a5282be273 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -30,8 +30,8 @@ #define CTDB_DS_ALIGNMENT 8 +#define CTDB_NULL_FUNC 0xf0000001 -#define CTDB_FETCH_FUNC 0xf0000001 /* an installed ctdb remote call */ @@ -193,7 +193,6 @@ struct ctdb_call_state { struct ctdb_call call; int redirect_count; struct ctdb_ltdb_header header; - void *fetch_private; struct { void (*fn)(struct ctdb_call_state *); void *private_data; @@ -226,9 +225,7 @@ enum ctdb_operation { CTDB_REQ_REGISTER = 1000, CTDB_REQ_CONNECT_WAIT = 1001, CTDB_REPLY_CONNECT_WAIT = 1002, - CTDB_REQ_FETCH_LOCK = 1003, - CTDB_REPLY_FETCH_LOCK = 1004, - CTDB_REQ_SHUTDOWN = 1005 + CTDB_REQ_SHUTDOWN = 1003 }; #define CTDB_MAGIC 0x43544442 /* CTDB */ -- cgit