[PATCH] Use /dev/urandom instead of /dev/random
[fio.git] / fio-ini.c
index 9b9262c9d8e0274528ce991190b01b365d86e523..6f866dfbc7c2d0fff58bab94c6a6fbe1538b98ba 100644 (file)
--- a/fio-ini.c
+++ b/fio-ini.c
@@ -280,7 +280,7 @@ int init_random_state(struct thread_data *td)
        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;