[PATCH] Don't create files for engines that don't need them
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index c6fb6a11d70b8eb582b3f9ab0262bbe5829e6617..e42d67bb137d721b92936e1249176c5ceabfee15 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -75,6 +75,9 @@ struct io_u {
        unsigned int buflen;
        unsigned long long offset;
 
+       void *xfer_buf;
+       unsigned int xfer_buflen;
+
        unsigned int resid;
        unsigned int error;
 
@@ -143,6 +146,8 @@ enum fio_ioengine_flags {
        FIO_CPUIO       = 1 << 1,
        FIO_MMAPIO      = 1 << 2,
        FIO_RAWIO       = 1 << 3,
+       FIO_NETIO       = 1 << 4,
+       FIO_NULLIO      = 1 << 5,
 };
 
 struct fio_file {