Recent changes (master)

Jens Axboe
2015-09-25T12:00:32Z

The following changes since commit 01cbd4d913d4eed56dc51256cddfe327b9c28d4c:

Update fio2gnuplot (2015-09-17 19:42:34 +0200)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 194fffd042d374d5e13af61a14fe16734c396d8c:

Fix integer overflow in rate_iops (2015-09-24 20:35:44 -0600)

----------------------------------------------------------------
Jens Axboe (1):
Fix integer overflow in rate_iops

init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

diff --git a/init.c b/init.c
index cdb98c5..684cd60 100644
--- a/init.c
+++ b/init.c
@@ -465,7 +465,7 @@ static int __setup_rate(struct thread_data *td, enum fio_ddir ddir)
if (td->o.rate[ddir])
td->rate_bps[ddir] = td->o.rate[ddir];
else
- td->rate_bps[ddir] = td->o.rate_iops[ddir] * bs;
+ td->rate_bps[ddir] = (uint64_t) td->o.rate_iops[ddir] * bs;

if (!td->rate_bps[ddir]) {
log_err("rate lower than supported\n");