projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stat: Remove more superfluous casts
[fio.git]
/
file.h
diff --git
a/file.h
b/file.h
index 8fd34b136c23972ba79ff06e4bad096d2e12eb6e..ae0e6fc8996d02f8ca2e5a76629a3dd3cf94b00d 100644
(file)
--- a/
file.h
+++ b/
file.h
@@
-10,6
+10,9
@@
#include "lib/lfsr.h"
#include "lib/gauss.h"
#include "lib/lfsr.h"
#include "lib/gauss.h"
+/* Forward declarations */
+struct zoned_block_device_info;
+
/*
* The type of object we are working on
*/
/*
* The type of object we are working on
*/
@@
-64,6
+67,7
@@
enum fio_fallocate_mode {
FIO_FALLOCATE_POSIX = 2,
FIO_FALLOCATE_KEEP_SIZE = 3,
FIO_FALLOCATE_NATIVE = 4,
FIO_FALLOCATE_POSIX = 2,
FIO_FALLOCATE_KEEP_SIZE = 3,
FIO_FALLOCATE_NATIVE = 4,
+ FIO_FALLOCATE_TRUNCATE = 5,
};
/*
};
/*
@@
-86,7
+90,6
@@
struct fio_file {
*/
unsigned int major, minor;
int fileno;
*/
unsigned int major, minor;
int fileno;
- int bs;
char *file_name;
/*
char *file_name;
/*
@@
-97,6
+100,11
@@
struct fio_file {
uint64_t file_offset;
uint64_t io_size;
uint64_t file_offset;
uint64_t io_size;
+ /*
+ * Zoned block device information. See also zonemode=zbd.
+ */
+ struct zoned_block_device_info *zbd_info;
+
/*
* Track last end and last start of IO for a given data direction
*/
/*
* Track last end and last start of IO for a given data direction
*/