X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=file.h;h=e50c0f9c3fac752455bfbe74701fd86b04b844ad;hp=cc721ee27a33c03e1ed1ff430170bbdec5b77432;hb=01fe773df4bc4a35450ce3ef50c8075b3bf55cd0;hpb=358ffaa6c37acb26e0f507934ba8a6f98f34ffee diff --git a/file.h b/file.h index cc721ee2..e50c0f9c 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 */ @@ -86,7 +89,6 @@ struct fio_file { */ unsigned int major, minor; int fileno; - int bs; char *file_name; /* @@ -97,6 +99,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 */ @@ -125,7 +132,7 @@ struct fio_file { * if io is protected by a semaphore, this is set */ union { - struct fio_mutex *lock; + struct fio_sem *lock; struct fio_rwlock *rwlock; };