X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=file.h;h=38e9d0d43003c466ae13defebea219db8057b7c1;hb=e48395912095ece3057a0666f6a7a443e340cc8f;hp=42fd58c8d09bb3dd66e4b3d02694282db771c19b;hpb=1ccc6dc75b28ef70cd7a8c39ac8c1cb68c720a65;p=fio.git diff --git a/file.h b/file.h index 42fd58c8..38e9d0d4 100644 --- a/file.h +++ b/file.h @@ -5,6 +5,7 @@ #include "compiler/compiler.h" #include "io_ddir.h" #include "flist.h" +#include "lib/zipf.h" /* * The type of object we are working on @@ -112,6 +113,11 @@ struct fio_file { unsigned long last_free_lookup; unsigned failed_rands; + /* + * Used for zipf random distribution + */ + struct zipf_state zipf; + int references; enum fio_file_flags flags;