From: Jens Axboe <axboe@kernel.dk>
To: Jeff Furlong <jeff.furlong@wdc.com>,
"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: fio server/client disconnect bug
Date: Wed, 21 Mar 2018 10:38:51 -0600 [thread overview]
Message-ID: <7ea6910f-dc7b-d141-432e-62c2ee9f16ee@kernel.dk> (raw)
In-Reply-To: <SN6PR04MB4064961E38329062931640B68FAA0@SN6PR04MB4064.namprd04.prod.outlook.com>
On 3/21/18 10:35 AM, Jeff Furlong wrote:
> No client ends in error. In fact, I get a full set of iops/lat/bw logs from both clients. And inspection of those logs looks good; I see the last 1000ms timestamp is valid for the duration of runtime. But only one client prints the summary info to the output file.
Can you try with this debug patch and see if you can reproduce? Comparing
a good and bad run would likely be key in figuring out wtf is going on
here.
diff --git a/client.c b/client.c
index bff0adc0d972..76c89a496964 100644
--- a/client.c
+++ b/client.c
@@ -1664,7 +1664,7 @@ int fio_handle_client(struct fio_client *client)
if (!cmd)
return 0;
- dprint(FD_NET, "client: got cmd op %s from %s (pdu=%u)\n",
+ printf("client: got cmd op %s from %s (pdu=%u)\n",
fio_server_op(cmd->opcode), client->hostname, cmd->pdu_len);
client->last_cmd = cmd->opcode;
--
Jens Axboe
next prev parent reply other threads:[~2018-03-21 16:38 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 0:32 fio server/client disconnect bug Jeff Furlong
2018-03-21 0:16 ` Jeff Furlong
2018-03-21 15:19 ` Jens Axboe
2018-03-21 16:19 ` Jens Axboe
2018-03-21 16:27 ` Jens Axboe
2018-03-21 16:35 ` Jeff Furlong
2018-03-21 16:38 ` Jens Axboe [this message]
2018-03-21 16:58 ` Jeff Furlong
2018-03-21 17:12 ` Jens Axboe
2018-03-21 18:16 ` Jeff Furlong
2018-03-21 18:38 ` Jens Axboe
2018-03-21 19:03 ` Jens Axboe
2018-03-21 19:10 ` Jens Axboe
2018-03-21 19:44 ` Jens Axboe
2018-03-21 19:45 ` Jeff Furlong
2018-03-21 19:49 ` Jens Axboe
2018-03-21 21:45 ` Jeff Furlong
2018-03-21 21:47 ` Jens Axboe
2018-03-21 21:51 ` Jens Axboe
2018-03-21 21:58 ` Jeff Furlong
2018-03-21 19:23 ` Jeff Furlong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ea6910f-dc7b-d141-432e-62c2ee9f16ee@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=jeff.furlong@wdc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox