commit | 860a3044085c676632f9832a78133cd9847cbe62 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 08 14:09:18 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 08 14:09:18 2007 +0100 |
tree | f23a53e2416d7cb3705a1c7cbeceec2fc5cfa922 | |
parent | e6433576b85eb28d32fe099b38ea64ac006b4b74 [diff] [blame] |
Add ->open to struct fio_file Don't use ->fd == -1 to check for the file being open or not, an io engine could be non-fd based. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h index 641ecda..ceeb6e6 100644 --- a/fio.h +++ b/fio.h
@@ -244,6 +244,7 @@ unsigned int last_free_lookup; unsigned int unlink; + unsigned int open; }; /*