File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -373,6 +373,8 @@ static struct request* ioem_dequeue(struct ioem_data *data)
373
373
ioem_priv (rq )-> time_to_send = irl_ret .time_to_send ;
374
374
time_to_send = irl_ret .time_to_send ;
375
375
}
376
+ } else {
377
+ time_to_send = ioem_priv (rq )-> time_to_send ;
376
378
}
377
379
378
380
rq = NULL ;
@@ -416,7 +418,11 @@ static struct request* ioem_dequeue(struct ioem_data *data)
416
418
ioem_priv (rq )-> time_to_send = irl_ret .time_to_send ;
417
419
list_add_tail (& rq -> queuelist , & data -> wait_queue );
418
420
ioem_priv (rq )-> in_list = true;
419
- time_to_send = min (time_to_send , irl_ret .time_to_send );
421
+ if (time_to_send == 0 ) {
422
+ time_to_send = irl_ret .time_to_send ;
423
+ } else {
424
+ time_to_send = min (time_to_send , irl_ret .time_to_send );
425
+ }
420
426
421
427
rq = NULL ;
422
428
}
You can’t perform that action at this time.
0 commit comments