|
@@ -21,7 +21,6 @@
|
|
#define TRACE(x...) debug_sprintf_event(sdias_dbf, 1, x)
|
|
#define TRACE(x...) debug_sprintf_event(sdias_dbf, 1, x)
|
|
|
|
|
|
#define SDIAS_RETRIES 300
|
|
#define SDIAS_RETRIES 300
|
|
-#define SDIAS_SLEEP_TICKS 50
|
|
|
|
|
|
|
|
static struct debug_info *sdias_dbf;
|
|
static struct debug_info *sdias_dbf;
|
|
|
|
|
|
@@ -68,7 +67,7 @@ static int sdias_sclp_send(struct sclp_req *req)
|
|
/* not initiated, wait some time and retry */
|
|
/* not initiated, wait some time and retry */
|
|
set_current_state(TASK_INTERRUPTIBLE);
|
|
set_current_state(TASK_INTERRUPTIBLE);
|
|
TRACE("add request failed: rc = %i\n",rc);
|
|
TRACE("add request failed: rc = %i\n",rc);
|
|
- schedule_timeout(SDIAS_SLEEP_TICKS);
|
|
|
|
|
|
+ schedule_timeout(msecs_to_jiffies(500));
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
/* initiated, wait for completion of service call */
|
|
/* initiated, wait for completion of service call */
|