Recent changes (master)
The following changes since commit d60be7d51cbb601cc59dccc9f2a418072046a985:
zbd: Remove unused function and variable (2018-09-26 08:26:01 -0600)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 152529ae26d1167779138b6cd30d4de10623da1b:
gettime: slightly improve CPU clock calibration (2018-09-27 17:38:21 -0600)
----------------------------------------------------------------
Bart Van Assche (1):
zbd: Fix zbd_zone_nr()
Jens Axboe (3):
Merge branch 'master' of https://github.com/bvanassche/fio
server: be locally vocal about communication issues
gettime: slightly improve CPU clock calibration
gettime.c | 5 ++--- server.c | 4 ++++ zbd.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-)
---
Diff of recent changes:
gettime.c +2 -3
@@ -237,12 +237,11 @@ static unsigned long get_cycles_per_msec(void) c_s =get_cpu_clock ();do {__fio_gettime (&e); + c_e =get_cpu_clock (); elapsed =utime_since (&s, &e); -if (elapsed >=1280 ) { - c_e =get_cpu_clock (); +if (elapsed >=1280 )break ; - } }while (1 ); fio_clock_source = old_cs;
server.c +4 -0
@@ -296,6 +296,8 @@ static int verify_convert_cmd(struct fio_net_cmd *cmd)if (crc != cmd->cmd_crc16) {log_err ("fio: server bad crc on command (got %x, wanted %x)\n" , cmd->cmd_crc16, crc); +fprintf (f_err,"fio: server bad crc on command (got %x, wanted %x)\n" , + cmd->cmd_crc16, crc);return 1 ; }
@@ -310,6 +312,8 @@ static int verify_convert_cmd(struct fio_net_cmd *cmd)break ;default :log_err ("fio: bad server cmd version %d\n" , cmd->version); +fprintf (f_err,"fio: client/server version mismatch (%d != %d)\n" , + cmd->version,FIO_SERVER_VER );return 1 ; }
zbd.c +1 -1
@@ -606,7 +606,7 @@ static int zbd_reset_range(struct thread_data *td, const struct fio_file *f,static unsigned int zbd_zone_nr (struct zoned_block_device_info *zbd_info,struct fio_zone_info *zone) { -return (uintptr_t ) zone - (uintptr_t ) zbd_info->zone_info; +return zone - zbd_info->zone_info; }/**