static int fio_posixaio_getevents(struct thread_data *td, unsigned int min,
unsigned int max, struct timespec *t)
{
struct posixaio_data *pd = td->io_ops->data;
static int fio_posixaio_getevents(struct thread_data *td, unsigned int min,
unsigned int max, struct timespec *t)
{
struct posixaio_data *pd = td->io_ops->data;
restart:
list_for_each(entry, &td->io_u_busylist) {
struct io_u *io_u = list_entry(entry, struct io_u, list);
restart:
list_for_each(entry, &td->io_u_busylist) {
struct io_u *io_u = list_entry(entry, struct io_u, list);
- * hrmpf, we need to wait for more. we should use aio_suspend, for
- * now just sleep a little and recheck status of busy-and-not-seen
+ * must have some in-flight, wait for at least one