[sheepdog] [PATCH] sheep: don't call check_request() from resume_pending_requests

Liu Yuan namei.unix at gmail.com
Tue May 29 12:54:45 CEST 2012


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

It seems that we can pass the scripts without this patch, I think
this line brings much problems (nested request manipulation) than
it sovles.

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

diff --git a/sheep/sdnet.c b/sheep/sdnet.c
index 7fcff4b..00ef634 100644
--- a/sheep/sdnet.c
+++ b/sheep/sdnet.c
@@ -240,9 +240,6 @@ void resume_pending_requests(void)
 
 	list_for_each_entry_safe(req, n, &pending_list, request_list) {
 		list_del(&req->request_list);
-
-		if (check_request(req) < 0)
-			continue;
 		list_add_tail(&req->request_list, &sys->request_queue);
 	}
 
-- 
1.7.10.2




More information about the sheepdog mailing list