X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=file.h;h=ae0e6fc8996d02f8ca2e5a76629a3dd3cf94b00d;hb=56440e63ac17d020a58e20a2341333a98f18a7ff;hp=c0a547eb1d2dc4ed1ca784f811265841328e6c25;hpb=0aa8371d9fc40121098929a7f670dcdd259b8eee;p=fio.git diff --git a/file.h b/file.h index c0a547eb..ae0e6fc8 100644 --- a/file.h +++ b/file.h @@ -10,6 +10,9 @@ #include "lib/lfsr.h" #include "lib/gauss.h" +/* Forward declarations */ +struct zoned_block_device_info; + /* * 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_TRUNCATE = 5, }; /* @@ -86,7 +90,6 @@ struct fio_file { */ unsigned int major, minor; int fileno; - unsigned long long bs; char *file_name; /* @@ -97,6 +100,11 @@ struct fio_file { 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 */