projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mmap engine: allow large files on 32-bit archs
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index c9fa6a9fa8672b5af02181cced08bd17189882f0..2e5431e99a6d21d953617154e2df9538e938dcab 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-135,6
+135,7
@@
struct io_u {
#ifdef FIO_HAVE_SOLARISAIO
aio_result_t resultp;
#endif
#ifdef FIO_HAVE_SOLARISAIO
aio_result_t resultp;
#endif
+ void *mmap_data;
};
struct timeval start_time;
struct timeval issue_time;
};
struct timeval start_time;
struct timeval issue_time;
@@
-313,9
+314,12
@@
struct fio_file {
* filename and possible memory mapping
*/
char *file_name;
* filename and possible memory mapping
*/
char *file_name;
- void *mmap;
unsigned int major, minor;
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
*/
/*
* size of the file, offset into file, and io size from that offset
*/