fix bug when setting default port for iscsi
[tridge/dbench.git] / dbench.h
index 56ab2d37a2011bc94952e81842bdcdb19dbec9ba..865f0d8ac5992df7f8f6a50dbadc8e5bd14bc51e 100644 (file)
--- a/dbench.h
+++ b/dbench.h
@@ -151,7 +151,13 @@ struct options {
        const char *export;
        const char *protocol;
        int run_once;
+       int allow_scsi_writes;
        int trunc_io;
+       const char *scsi_dev;
+       const char *iscsi_portal;
+       const char *iscsi_target;
+       int iscsi_lun;
+       int iscsi_port;
 };
 
 
@@ -172,6 +178,7 @@ struct backend_op {
 struct nb_operations {
        const char *backend_name;       
        struct backend_op *ops;
+       int (*init)(void);
        void (*setup)(struct child_struct *child);
        void (*cleanup)(struct child_struct *child);
 };