X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=2e5431e99a6d21d953617154e2df9538e938dcab;hp=c9fa6a9fa8672b5af02181cced08bd17189882f0;hb=ac8931124126;hpb=482900c94face8e1891a181148b2f8a01e905aa5 diff --git a/fio.h b/fio.h index c9fa6a9f..2e5431e9 100644 --- a/fio.h +++ b/fio.h @@ -135,6 +135,7 @@ struct io_u { #ifdef FIO_HAVE_SOLARISAIO aio_result_t resultp; #endif + void *mmap_data; }; struct timeval start_time; struct timeval issue_time; @@ -313,9 +314,12 @@ struct fio_file { * filename and possible memory mapping */ char *file_name; - void *mmap; unsigned int major, minor; + void *mmap_ptr; + size_t mmap_sz; + off_t mmap_off; + /* * size of the file, offset into file, and io size from that offset */