io_u: fix overflow in 64-bit bssplit calculation
authorJens Axboe <axboe@fb.com>
Fri, 16 Sep 2016 15:11:04 +0000 (09:11 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 16 Sep 2016 15:11:04 +0000 (09:11 -0600)
commit3dd29f7c21538c164fcbd078c3f2e532a9193a04
tree2bf32c1062ccc9b0f8d4e9a8049c801702de6c94
parent7903bf87725b18495a06f7199342f167147712eb
io_u: fix overflow in 64-bit bssplit calculation

If we use a random generator that has a 64-bit output, then we'll
overflow in the calculation for what block size to select when
bssplit= is used.

Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c