sprintf(bit, "%d-bit", probe->bpp * 8);
- log_info("hostname=%s, be=%u, %s, os=%s, arch=%s, fio=%u.%u.%u\n",
+ log_info("hostname=%s, be=%u, %s, os=%s, arch=%s, fio=%s\n",
probe->hostname, probe->bigendian, bit, os, arch,
- probe->fio_major, probe->fio_minor, probe->fio_patch);
+ probe->fio_version);
if (!client->name)
client->name = strdup((char *) probe->hostname);
+++ /dev/null
-#ifndef FIO_VERSION_H
-#define FIO_VERSION_H
-
-#define FIO_MAJOR 2
-#define FIO_MINOR 0
-#define FIO_PATCH 7
-
-#endif
#include "lib/getopt.h"
-#include "fio_version.h"
-
const char fio_version_string[] = FIO_VERSION;
#define FIO_RANDSEED (0xb1899bedUL)
<Product Id="*"\r
Codepage="1252" Language="1033"\r
Manufacturer="fio" Name="FIO"\r
- UpgradeCode="{2338A332-5511-43cf-b9BD-5C60496CCFCC}" Version="$(env.FIO_MAJOR).$(env.FIO_MINOR).$(env.FIO_PATCH)">\r
+ UpgradeCode="{2338A332-5511-43cf-b9BD-5C60496CCFCC}" Version="$(env.FIO_VERSION)">\r
<Package \r
Comments="Contact: Your local administrator"\r
Description="Flexible IO Tester"\r
#include "crc/crc16.h"
#include "lib/ieee754.h"
-#include "fio_version.h"
-
int fio_net_port = 8765;
int exit_backend = 0;
#ifdef FIO_BIG_ENDIAN
probe.bigendian = 1;
#endif
- probe.fio_major = FIO_MAJOR;
- probe.fio_minor = FIO_MINOR;
- probe.fio_patch = FIO_PATCH;
+ strcpy((char *) probe.fio_version, fio_version_string);
probe.os = FIO_OS;
probe.arch = FIO_ARCH;
};
enum {
- FIO_SERVER_VER = 6,
+ FIO_SERVER_VER = 7,
FIO_SERVER_MAX_PDU = 1024,
struct cmd_probe_pdu {
uint8_t hostname[64];
uint8_t bigendian;
- uint8_t fio_major;
- uint8_t fio_minor;
- uint8_t fio_patch;
+ uint8_t fio_version[8];
uint8_t os;
uint8_t arch;
uint8_t bpp;