commit | ee98e23416e8543bf48b734802cd1e49ed894f9e | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Mar 19 07:49:35 2013 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 19 07:49:35 2013 -0600 |
tree | 20260bf876dd6091e46f9bb78047503b7b790b79 | |
parent | bdb6d20ac3e6ba85d7757c7f6e5fa04123d4870d [diff] |
Fix re-run issue when job size is set to "unknown" Assert that td->o.size is valid before comparing the IO amount we did to it. This prevents re-running a job because we think there's more work to do. But if we haven't set ->o.size to a valid value, then that must not determine whether to re-run the loop or not. Signed-off-by: Jens Axboe <axboe@kernel.dk>