Add ->open to struct fio_file
authorJens Axboe <jens.axboe@oracle.com>
Thu, 8 Mar 2007 13:09:18 +0000 (14:09 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 8 Mar 2007 13:09:18 +0000 (14:09 +0100)
commit860a3044085c676632f9832a78133cd9847cbe62
treef23a53e2416d7cb3705a1c7cbeceec2fc5cfa922
parente6433576b85eb28d32fe099b38ea64ac006b4b74
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>
fio.h
io_u.c
ioengines.c