summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 558ab1651..e2b658a98 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -472,7 +472,7 @@ glusterfs_volume_top_write_perf (void *args)
goto out;
}
- input_fd = open ("/dev/urandom", O_RDONLY);
+ input_fd = open ("/dev/zero", O_RDONLY);
if (-1 == input_fd) {
ret = -1;
gf_log ("glusterd",GF_LOG_ERROR, "Unable to open input file");
@@ -564,7 +564,7 @@ glusterfs_volume_top_read_perf (void *args)
goto out;
}
- input_fd = open ("/dev/urandom", O_RDONLY);
+ input_fd = open ("/dev/zero", O_RDONLY);
if (-1 == input_fd) {
ret = -1;
gf_log ("glusterd", GF_LOG_ERROR, "Could not open input file");