zipf/pareto: ensure that 0 isn't always the hottest block
[fio.git] / lib / zipf.h
index c66b06407ef498a22546d6a7421cb904180cd8f4..a23afe5e88457ffd7b8c7cda83b2d1b9ce6cbb28 100644 (file)
@@ -11,6 +11,7 @@ struct zipf_state {
        double zetan;
        double pareto_pow;
        struct frand_state rand;
+       unsigned long rand_off;
 };
 
 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta);