[sheepdog] [PATCH] sheep: remove redundant dprintf in do_local_io()

Liu Yuan namei.unix at gmail.com
Wed Jun 20 13:53:21 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

Both do_io_request and do_gateway_request already printf the info as follows:

...
Jun 20 19:43:03 [main] queue_request(312) 2
Jun 20 19:43:03 [io 3] do_io_request(105) 2, fd34af00000000 , 1
Jun 20 19:43:03 [io 3] do_local_io(52) 2, fd34af00000000 , 1

So remove it.

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 sheep/store.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/sheep/store.c b/sheep/store.c
index 61f822c..52c4716 100644
--- a/sheep/store.c
+++ b/sheep/store.c
@@ -48,9 +48,6 @@ LIST_HEAD(store_drivers);
 
 int do_local_io(struct request *req, uint32_t epoch)
 {
-	dprintf("%x, %" PRIx64" , %u\n",
-		req->rq.opcode, req->rq.obj.oid, epoch);
-
 	req->rq.epoch = epoch;
 	return do_process_work(req);
 }
-- 
1.7.10.2




More information about the sheepdog mailing list