#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
struct flist_head hash_list;
enum fio_filetype filetype;
- void *file_data;
int fd;
+ int shadow_fd;
#ifdef WIN32
HANDLE hFile;
HANDLE ioCP;
/*
* For use by the io engine
*/
- unsigned long long file_pos;
+ uint64_t engine_data;
/*
* if io is protected by a semaphore, this is set
/*
* block map for random io
*/
- struct bitmap *io_bitmap;
+ struct axmap *io_axmap;
+
+ struct fio_lfsr lfsr;
/*
* Used for zipf random distribution
{
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