Rename the bitmap to axmap
[fio.git] / file.h
diff --git a/file.h b/file.h
index ce92ff75305dda0438ec041dcfa7f37c6fb5ce83..3024c5440094f4a711b993e80dc6b81264f42893 100644 (file)
--- a/file.h
+++ b/file.h
@@ -6,7 +6,8 @@
 #include "io_ddir.h"
 #include "flist.h"
 #include "lib/zipf.h"
-#include "lib/bitmap.h"
+#include "lib/axmap.h"
+#include "lib/lfsr.h"
 
 /*
  * The type of object we are working on
@@ -109,7 +110,9 @@ struct fio_file {
        /*
         * block map for random io
         */
-       struct bitmap *io_bitmap;
+       struct axmap *io_axmap;
+
+       struct fio_lfsr lfsr;
 
        /*
         * Used for zipf random distribution
@@ -178,8 +181,8 @@ static inline void fio_file_reset(struct fio_file *f)
        f->last_pos = f->file_offset;
        f->last_start = -1ULL;
        f->file_pos = -1ULL;
-       if (f->io_bitmap)
-               bitmap_reset(f->io_bitmap);
+       if (f->io_axmap)
+               axmap_reset(f->io_axmap);
 }
 
 #endif