3 @@ -63,7 +63,6 @@ struct file {
7 - struct drand48_data rand;
8 struct io_sq_ring sq_ring;
9 struct io_uring_sqe *sqes;
10 struct io_cq_ring cq_ring;
11 @@ -170,7 +169,7 @@ static void init_io(struct submitter *s, unsigned index)
15 - lrand48_r(&s->rand, &r);
17 offset = (r % (f->max_blocks - 1)) * BS;
20 @@ -286,7 +285,7 @@ static void *submitter_fn(void *data)
22 printf("submitter=%d\n", gettid());
24 - srand48_r(pthread_self(), &s->rand);
25 + srand48(pthread_self());