{
struct syslet_data *sd = td->io_ops->data;
+ fio_ro_check(td, io_u);
+
if (sd->tail) {
sd->tail->next = &io_u->req.atom;
sd->tail = &io_u->req.atom;
sd->ahu.head_stack = thread_stack_alloc();
sd->ahu.head_eip = (unsigned long) cachemiss_thread_start;
sd->ahu.new_thread_eip = (unsigned long) cachemiss_thread_start;
+ sd->ahu.new_thread_stack = thread_stack_alloc();
return 0;
}
void *ret;
init_atom(&atom, __NR_getpid, NULL, NULL, NULL, NULL, NULL, 0, NULL);
- ret = async_exec(sd->head, &sd->ahu);
+ ret = async_exec(&atom, &sd->ahu);
if (ret == (void *) -1)
return 1;