File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -276,12 +276,12 @@ mtflush_service_io(
276
276
ulint n_flushed=0 ;
277
277
278
278
mtflush_io->wt_status = WTHR_SIG_WAITING;
279
- work_item = (wrk_t *)ib_wqueue_timedwait (mtflush_io->wq , MT_WAIT_IN_USECS );
279
+ work_item = (wrk_t *)ib_wqueue_wait (mtflush_io->wq );
280
280
281
281
if (work_item) {
282
282
mtflush_io->wt_status = WTHR_RUNNING;
283
283
} else {
284
- /* Because of timeout this thread did not get any work */
284
+ /* Thread did not get any work */
285
285
mtflush_io->wt_status = WTHR_NO_WORK;
286
286
return ;
287
287
}
@@ -551,7 +551,7 @@ buf_mtflu_flush_work_items(
551
551
552
552
/* wait on the completion to arrive */
553
553
for (i=0 ; i< buf_pool_inst;) {
554
- done_wi = (wrk_t *)ib_wqueue_timedwait (mtflush_ctx->wr_cq , MT_WAIT_IN_USECS );
554
+ done_wi = (wrk_t *)ib_wqueue_wait (mtflush_ctx->wr_cq );
555
555
556
556
if (done_wi != NULL ) {
557
557
if (done_wi->n_flushed == 0 ) {
Original file line number Diff line number Diff line change @@ -282,12 +282,12 @@ mtflush_service_io(
282
282
ulint n_flushed=0 ;
283
283
284
284
mtflush_io->wt_status = WTHR_SIG_WAITING;
285
- work_item = (wrk_t *)ib_wqueue_timedwait (mtflush_io->wq , MT_WAIT_IN_USECS );
285
+ work_item = (wrk_t *)ib_wqueue_wait (mtflush_io->wq );
286
286
287
287
if (work_item) {
288
288
mtflush_io->wt_status = WTHR_RUNNING;
289
289
} else {
290
- /* Because of timeout this thread did not get any work */
290
+ /* Thread did not get any work */
291
291
mtflush_io->wt_status = WTHR_NO_WORK;
292
292
return ;
293
293
}
@@ -557,7 +557,7 @@ buf_mtflu_flush_work_items(
557
557
558
558
/* wait on the completion to arrive */
559
559
for (i=0 ; i< buf_pool_inst;) {
560
- done_wi = (wrk_t *)ib_wqueue_timedwait (mtflush_ctx->wr_cq , MT_WAIT_IN_USECS );
560
+ done_wi = (wrk_t *)ib_wqueue_wait (mtflush_ctx->wr_cq );
561
561
562
562
if (done_wi != NULL ) {
563
563
if (done_wi->n_flushed == 0 ) {
You can’t perform that action at this time.
0 commit comments