commit | df9c26b10275a631e83e7cc92d5f7384998b2c49 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 05 10:13:58 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 05 10:13:58 2009 +0100 |
tree | d7abfac9404396fe82d0a3f3c5c99f684866544f | |
parent | 4e6ea2f1e9b7da6d7d1057670fcc19f063e46fd4 [diff] |
Avoid opening files until they are used Fio still opens and creates all files, just to check the size of them. Add a specialized IO engine op for getting the size of a file and use that instead. This also cleans a lot of things up. Note that the IO engine version is now bumped to 10, meaning that external engines will have to separate the file open from the size checking. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>