X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=file.h;h=da1b894706a64227af9a484d760fadc79edcd0d5;hb=114eadb2d1df6a86afdcc42a21310d8c5559e72d;hp=faf65a2a013846fb716f0b80403d6549b90120d2;hpb=d16e84e256ffdcd3143c9439cf1e408d8db61c1a;p=fio.git diff --git a/file.h b/file.h index faf65a2a..da1b8947 100644 --- a/file.h +++ b/file.h @@ -126,12 +126,14 @@ struct fio_file { 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