commit | 059e63c02b947085d28ec7c6450b51d5fb2e8d05 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Mar 27 20:34:47 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Mar 27 20:34:47 2007 +0200 |
tree | 8c3d8d5bd24299e1c5d535ecfae788c9bded6d7d | |
parent | 43063a1c8288d987eb9c14e2736b3b857836def6 [diff] [blame] |
Better check for not doing a file twice Mark it as done when we close it, so we don't open the same one again. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h index 76d7ea4..5ca72c5 100644 --- a/fio.h +++ b/fio.h
@@ -240,6 +240,7 @@ FIO_FILE_EXISTS = 1 << 3, /* file there */ FIO_FILE_EXTEND = 1 << 4, /* needs extend */ FIO_FILE_NOSORT = 1 << 5, /* don't sort verify blocks */ + FIO_FILE_DONE = 1 << 6, /* io completed to this file */ }; /*