projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'nfs' of https://github.com/panxiao2014/fio
[fio.git]
/
file.h
diff --git
a/file.h
b/file.h
index faf65a2a013846fb716f0b80403d6549b90120d2..e38ed2f12337d809a3fca54cf03c1e62a5a44e2b 100644
(file)
--- a/
file.h
+++ b/
file.h
@@
-12,6
+12,7
@@
/* Forward declarations */
struct zoned_block_device_info;
/* Forward declarations */
struct zoned_block_device_info;
+struct fdp_ruh_info;
/*
* The type of object we are working on
/*
* The type of object we are working on
@@
-101,6
+102,9
@@
struct fio_file {
uint64_t file_offset;
uint64_t io_size;
uint64_t file_offset;
uint64_t io_size;
+ struct fio_ruhs_info *ruhs_info;
+ struct fio_ruhs_scheme *ruhs_scheme;
+
/*
* Zoned block device information. See also zonemode=zbd.
*/
/*
* Zoned block device information. See also zonemode=zbd.
*/
@@
-126,12
+130,14
@@
struct fio_file {
unsigned int last_write_idx;
/*
unsigned int last_write_idx;
/*
- * For use by the io engine
for offset or private data storage
+ * For use by the io engine
to store offset
*/
*/
- union {
- uint64_t engine_pos;
- void *engine_data;
- };
+ uint64_t engine_pos;
+
+ /*
+ * For use by the io engine for private data storage
+ */
+ void *engine_data;
/*
* if io is protected by a semaphore, this is set
/*
* if io is protected by a semaphore, this is set