Searched refs:min_evts (Results 1 – 4 of 4) sorted by relevance
/external/fio/ |
D | rate-submit.c | 43 unsigned int min_evts; in io_workqueue_fn() local 46 min_evts = 1; in io_workqueue_fn() 48 min_evts = 0; in io_workqueue_fn() 50 ret = io_u_queued_complete(td, min_evts); in io_workqueue_fn()
|
D | io_u.c | 1959 int io_u_queued_complete(struct thread_data *td, int min_evts) in io_u_queued_complete() argument 1966 dprint(FD_IO, "io_u_queued_complete: min=%d\n", min_evts); in io_u_queued_complete() 1968 if (!min_evts) in io_u_queued_complete() 1970 else if (min_evts > td->cur_depth) in io_u_queued_complete() 1971 min_evts = td->cur_depth; in io_u_queued_complete() 1975 ret = td_io_getevents(td, min_evts, td->o.iodepth_batch_complete_max, tvp); in io_u_queued_complete()
|
D | backend.c | 436 int min_evts = 0; in wait_for_completions() local 445 min_evts = min(td->o.iodepth_batch_complete_min, td->cur_depth); in wait_for_completions() 446 if ((full && !min_evts) || !td->o.iodepth_batch_complete_min) in wait_for_completions() 447 min_evts = 1; in wait_for_completions() 455 ret = io_u_queued_complete(td, min_evts); in wait_for_completions()
|
/external/fio/engines/ |
D | rbd.c | 357 unsigned int min_evts, int wait) argument 368 rbd_completion_t comps[min_evts]; 380 event_num = rbd_poll_io_events(rbd->image, comps, min_evts); 422 if (*events >= min_evts)
|