projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stat: update description of clat accounting in stat.h
[fio.git]
/
client.c
diff --git
a/client.c
b/client.c
index 5b409fea4b78c187ef03ae0ad287026b3e0cfb9d..779fb9d7f8d04f53bd56388d13f869d0760980e5 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1382,7
+1382,7
@@
static int fio_client_handle_iolog(struct fio_client *client,
}
out:
}
out:
- if (pdu && pdu != cmd->payload)
+ if (pdu && pdu !=
(void *)
cmd->payload)
free(pdu);
if (log_pathname)
free(pdu);
if (log_pathname)
@@
-1864,10
+1864,12
@@
static void request_client_etas(struct client_ops *ops)
static int handle_cmd_timeout(struct fio_client *client,
struct fio_net_cmd_reply *reply)
{
static int handle_cmd_timeout(struct fio_client *client,
struct fio_net_cmd_reply *reply)
{
+ uint16_t reply_opcode = reply->opcode;
+
flist_del(&reply->list);
free(reply);
flist_del(&reply->list);
free(reply);
- if (reply
->
opcode != FIO_NET_CMD_SEND_ETA)
+ if (reply
_
opcode != FIO_NET_CMD_SEND_ETA)
return 1;
log_info("client <%s>: timeout on SEND_ETA\n", client->hostname);
return 1;
log_info("client <%s>: timeout on SEND_ETA\n", client->hostname);