summaryrefslogtreecommitdiff
path: root/lib/rand.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-02 21:02:12 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-02 21:02:12 +0100
commit9c42684e32325da26e862280388798343c5f1305 (patch)
treefbe075208ba4026522bb31b5c1fd7a6c8614434d /lib/rand.h
parent52ad4b94056b594b0fa1012467f944804a8241db (diff)
downloadfio-9c42684e32325da26e862280388798343c5f1305.tar.gz
Add buffer_compress_percentage
The option is pending testing, so not documented yet. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/rand.h')
-rw-r--r--lib/rand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rand.h b/lib/rand.h
index 6b9e13c0..d62ebe5f 100644
--- a/lib/rand.h
+++ b/lib/rand.h
@@ -22,5 +22,6 @@ extern void init_rand(struct frand_state *);
extern void init_rand_seed(struct frand_state *, unsigned int seed);
extern void __fill_random_buf(void *buf, unsigned int len, unsigned long seed);
extern unsigned long fill_random_buf(struct frand_state *, void *buf, unsigned int len);
+extern unsigned long fill_random_buf_percentage(struct frand_state *, void *buf, unsigned int percentage, unsigned int segment, unsigned int len);
#endif