[sheepdog] [PATCH] sheep: no need to set SD_FLAG_CMD_WRITE for local request

levin li levin108 at gmail.com
Tue Aug 28 10:14:54 CEST 2012


From: levin li <xingke.lwp at taobao.com>


Signed-off-by: levin li <xingke.lwp at taobao.com>
---
 sheep/recovery.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sheep/recovery.c b/sheep/recovery.c
index 59ac9d6..0033c6b 100644
--- a/sheep/recovery.c
+++ b/sheep/recovery.c
@@ -346,7 +346,6 @@ static void notify_recovery_completion_work(struct work *work)
 
 	sd_init_req(&hdr, SD_OP_COMPLETE_RECOVERY);
 	hdr.epoch = rw->epoch;
-	hdr.flags = SD_FLAG_CMD_WRITE;
 	hdr.data_length = sizeof(sys->this_node);
 
 	ret = exec_local_req(&hdr, &sys->this_node);
-- 
1.7.10




More information about the sheepdog mailing list