Assign io_u->error directly in do_io_u_sync()
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index f00f64a9dc4297217e870eae87b27b5980151719..05911c00d1934f6368b5d7e28942a9deaae278a4 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -282,6 +282,8 @@ struct thread_options {
 
        unsigned int uid;
        unsigned int gid;
+
+       unsigned int sync_file_range;
 };
 
 #define FIO_VERROR_SIZE        128
@@ -417,6 +419,8 @@ struct thread_data {
        unsigned int file_service_left;
        struct fio_file *file_service_file;
 
+       unsigned int sync_file_range_nr;
+
        /*
         * For generating file sizes
         */