summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorJeff Furlong <jeff.furlong@wdc.com>2018-07-23 09:15:40 -0600
committerJens Axboe <axboe@kernel.dk>2018-07-23 09:15:40 -0600
commit5fff95436922873dd9ded8b21af7222689e2ec5d (patch)
treead364a003e5c8108da33eacda6d3b6c2111e69b0 /file.h
parentbfd986752ad053175423ffe3bbbeb07803f8ad4a (diff)
downloadfio-5fff95436922873dd9ded8b21af7222689e2ec5d.tar.gz
fio-5fff95436922873dd9ded8b21af7222689e2ec5d.tar.bz2
Add support for >= 4G block sizes
For trims, it's useful to be able to support larger than (or equal to) 4GB. This extends the block sizes support for that. Change from Jeff, various little fixups from me. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'file.h')
-rw-r--r--file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.h b/file.h
index 8fd34b13..c0a547eb 100644
--- a/file.h
+++ b/file.h
@@ -86,7 +86,7 @@ struct fio_file {
*/
unsigned int major, minor;
int fileno;
- int bs;
+ unsigned long long bs;
char *file_name;
/*