diff options
Diffstat (limited to 'xlators/performance/io-threads/src/io-threads.c')
| -rw-r--r-- | xlators/performance/io-threads/src/io-threads.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c index d316a19a463..66864fcd438 100644 --- a/xlators/performance/io-threads/src/io-threads.c +++ b/xlators/performance/io-threads/src/io-threads.c @@ -202,7 +202,7 @@ iot_schedule (call_frame_t *frame, xlator_t *this, call_stub_t *stub)          int             ret = -1;          iot_pri_t       pri = IOT_PRI_MAX - 1; -        if (frame->root->pid < 0) { +        if (frame->root->pid < GF_CLIENT_PID_MAX) {                  pri = IOT_PRI_LEAST;                  goto out;          }  | 
