[Sheepdog] [PATCH 1/3] sheep: add a dprintf for store_queue_request_local
Liu Yuan
namei.unix at gmail.com
Wed Aug 31 11:44:57 CEST 2011
From: Liu Yuan <tailai.ly at taobao.com>
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
sheep/store.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sheep/store.c b/sheep/store.c
index d192557..ef991ef 100644
--- a/sheep/store.c
+++ b/sheep/store.c
@@ -595,6 +595,8 @@ static int store_queue_request_local(struct request *req, uint32_t epoch)
struct jrnl_descriptor jd;
struct jrnl_vdi_head jh;
+ dprintf("%x, %" PRIx64" , %u\n", opcode, oid, epoch);
+
switch (opcode) {
case SD_OP_CREATE_AND_WRITE_OBJ:
case SD_OP_WRITE_OBJ:
--
1.7.5.1
More information about the sheepdog
mailing list