commit | 0d73a2f983c2ec7b4498d92ef1f0f79f2445a2f8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 07 12:54:10 2013 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 07 12:54:10 2013 +0100 |
tree | 9a52bf603488de4a68f45ce002d0d9817f0455a2 | |
parent | 10a6b3c67042914fe9d287027bf8792f69e84524 [diff] |
Fix crash and precision of ETA with zones If zonesize was bigger than zoneskip, we could encounter a divide by zero when calculating the number of bytes. Additionally, the math was just wrong for most cases of zone settings. Improve that. Signed-off-by: Jens Axboe <axboe@kernel.dk>