commit | 1ac267bb7dd678fa12bb3573c29cff5238ef9ccf | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Wed May 31 20:29:00 2006 +0200 |
committer | Jens Axboe <axboe@suse.de> | Wed May 31 20:29:00 2006 +0200 |
tree | 3a3729747e46939329cb130da96810a200f61d7c | |
parent | fcb6ade236bd9b1d99cfc3deba24a1ca9f5fb0a6 [diff] [blame] |
[PATCH] Use /dev/urandom instead of /dev/random We are not cryptographic software, and with many threads it's actually possible to run out of entropy.
diff --git a/fio-ini.c b/fio-ini.c index 9b9262c..6f866df 100644 --- a/fio-ini.c +++ b/fio-ini.c
@@ -280,7 +280,7 @@ unsigned long seed; int fd, num_maps, blocks; - fd = open("/dev/random", O_RDONLY); + fd = open("/dev/urandom", O_RDONLY); if (fd == -1) { td_verror(td, errno); return 1;