summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-11-26 08:43:47 +0100
committerJens Axboe <axboe@kernel.dk>2012-11-26 08:43:47 +0100
commit8055e41d0ecc54770a2653427532b3e2c5fabdad (patch)
treef6f2b77f586a4dc890e3fce6565ae3c13a7fc146 /file.h
parent2ab9e98b300c35d3b7807f74d404ce3c5de33fb3 (diff)
downloadfio-8055e41d0ecc54770a2653427532b3e2c5fabdad.tar.gz
fio-8055e41d0ecc54770a2653427532b3e2c5fabdad.tar.bz2
Add LFSR generator
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/file.h b/file.h
index ce92ff75..9dd08731 100644
--- a/file.h
+++ b/file.h
@@ -7,6 +7,7 @@
#include "flist.h"
#include "lib/zipf.h"
#include "lib/bitmap.h"
+#include "lib/lfsr.h"
/*
* The type of object we are working on
@@ -111,6 +112,8 @@ struct fio_file {
*/
struct bitmap *io_bitmap;
+ struct fio_lfsr lfsr;
+
/*
* Used for zipf random distribution
*/