return 0;
}
- ret = fio_backend();
+ ret = fio_backend(NULL);
free_threads_shm();
_exit(ret);
}
struct timeval tv;
if (server_fd == -1)
- return log_local_buf(buf, len);
+ return -1;
tlen = sizeof(*pdu) + len;
pdu = malloc(tlen);
/*
* Wait for the backend to receive the reply
*/
- if (fio_mutex_down_timeout(&rep->lock, 10)) {
+ if (fio_mutex_down_timeout(&rep->lock, 10000)) {
log_err("fio: timed out waiting for reply\n");
goto fail;
}