summaryrefslogtreecommitdiff
path: root/verify.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2014-01-14 15:35:58 -0700
committerJens Axboe <axboe@kernel.dk>2014-01-14 15:35:58 -0700
commitce35b1ece06ce27ebff111e47c2a6610c311a92b (patch)
treeca53c9279ec6a73d7193576960948f38f04f9adb /verify.h
parent04778baf2def8c1c5a3d7d60233c56d140831711 (diff)
downloadfio-ce35b1ece06ce27ebff111e47c2a6610c311a92b.tar.gz
fio-ce35b1ece06ce27ebff111e47c2a6610c311a92b.tar.bz2
Add option for specifically setting buffer contents
Fio can use zeroes, slightly scrambled data, full random data, or specifically compressible data. With this option, the user can now fully control the pattern written, similarly to how verify_pattern works for verify=meta. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'verify.h')
-rw-r--r--verify.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/verify.h b/verify.h
index 6a81e9b0..05d7b81b 100644
--- a/verify.h
+++ b/verify.h
@@ -74,7 +74,8 @@ extern void populate_verify_io_u(struct thread_data *, struct io_u *);
extern int __must_check get_next_verify(struct thread_data *td, struct io_u *);
extern int __must_check verify_io_u(struct thread_data *, struct io_u *);
extern int verify_io_u_async(struct thread_data *, struct io_u *);
-extern void fill_pattern(struct thread_data *td, void *p, unsigned int len, struct io_u *io_u, unsigned long seed, int use_seed);
+extern void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len, struct io_u *io_u, unsigned long seed, int use_seed);
+extern void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len);
extern void fio_verify_init(struct thread_data *td);
/*