From: Adam Jackson <[email protected]>

Signed-off-by: Adam Jackson <[email protected]>
---
 usr/actor.c | 2 +-
 usr/actor.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/usr/actor.c b/usr/actor.c
index e4e8a24..c084176 100644
--- a/usr/actor.c
+++ b/usr/actor.c
@@ -240,7 +240,7 @@ actor_poll(void)
        /* don't check wait list every single poll.
         * get new time. Shift it to make 10s of msecs approx
         * if new time is not same as old time */
-       if (scheduler_loops++ > ACTOR_MAX_LOOPS) {
+       if (scheduler_loops++ > 1) {
                /* try coming in about every 100 msecs */
                current_time = actor_jiffies;
                scheduler_loops = 0;
diff --git a/usr/actor.h b/usr/actor.h
index 704224d..4c1ae60 100644
--- a/usr/actor.h
+++ b/usr/actor.h
@@ -23,7 +23,6 @@
 #include "list.h"
 
 #define ACTOR_RESOLUTION       250     /* in millis */
-#define ACTOR_MAX_LOOPS                1
 
 typedef enum actor_state_e {
     ACTOR_INVALID,
-- 
1.9.3

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to