History log of /external/fio/client.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eda3a60699e1d96bb68875ef2169ca819eb8f4f9 20-May-2017 Elliott Hughes <enh@google.com> Update to fio-2.20.

Bug: N/A
Test: builds, seems to work
Change-Id: I455dcc898f00dc50ae5cb65d1b381982df5a51e0
/external/fio/client.c
4811fffc14f1ec95902545946f279a3f2151c9da 14-Jan-2015 Jens Axboe <axboe@fb.com> client: take better care to return failure from fio_handle_clients()

If any error has been noted in the ->error field, we need to pass
back a non-zero return from fio_handle_clients().

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
75289eeb81db9a8f85285f2d62b74c506960678c 05-Jan-2015 Jens Axboe <axboe@fb.com> client: fix potential buffer overrun in server name copy

Not an issue right now since pdu.server is larger than the buffer,
but that could change at some point. Better be safe.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
2a3bf76465a94399b3cb5ced55ddf98d81125fa3 01-Dec-2014 Jens Axboe <axboe@fb.com> Bump disk util stats from 32 to 64-bit values

Robert reports:

A long run can result in wrapping in the disk stats
(ios, merge, ticks, in_queue).

In this example, there were 212,245,615,134 read IOs
(that is from uint64_t total_io_u[3]):
read : io=101207GB, bw=491309KB/s, iops=982618, runt=216000016msec
cpu : usr=0.09%, sys=4.33%, ctx=152784302066, majf=0, minf=2928
IO depths : 1=0.0%, 2=0.0%, 4=0.0%, 8=0.5%, 16=0.5%, 32=1.0%, >=64=1.0%
submit : 0=0.0%, 4=18.0%, 8=6.6%, 16=8.5%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=0.0%, 8=0.0%, 16=15.0%, 32=0.1%, 64=0.1%, >=64=0.1%
issued : total=r=212245615134/w=0/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
latency : target=0, window=0, percentile=100.00%, depth=96

Run status group 0 (all jobs):
READ: io=101207GB, aggrb=491309KB/s, minb=491309KB/s, maxb=491309KB/s, mint=216000016msec, maxt=216000016msec

All the disk stats, however, wrap at ios=4,294,967,295 (32 bit).
In this case it caught sdi falling a bit behind the others,
but all of them have wrapped multiple times.

Disk stats (read/write):
sdb: ios=796157304/0, merge=0/0, ticks=722039638/0, in_queue=735284999, util=100.00%
sdc: ios=725235994/0, merge=0/0, ticks=725893305/0, in_queue=738790349, util=100.00%
sdd: ios=722370867/0, merge=0/0, ticks=724540972/0, in_queue=738926102, util=100.00%
sde: ios=722490025/0, merge=0/0, ticks=724775894/0, in_queue=745581851, util=100.00%
sdf: ios=719665329/0, merge=0/0, ticks=724281840/0, in_queue=740201203, util=100.00%
sdg: ios=721386377/0, merge=0/0, ticks=725529483/0, in_queue=740729310, util=100.00%
sdh: ios=720461888/0, merge=0/0, ticks=724759222/0, in_queue=741212131, util=100.00%
sdi: ios=3280272329/0, merge=0/0, ticks=3337080572/0, in_queue=3340290775, util=81.57%
sdj: ios=717395167/0, merge=0/0, ticks=723762993/0, in_queue=739136654, util=100.00%
sdk: ios=824804416/0, merge=0/0, ticks=722973383/0, in_queue=734915061, util=100.00%
sdl: ios=787317365/0, merge=0/0, ticks=720963594/0, in_queue=736506238, util=100.00%
sdm: ios=791112845/0, merge=0/0, ticks=723371287/0, in_queue=745590636, util=100.00%
sdn: ios=786009870/0, merge=0/0, ticks=721111447/0, in_queue=733786474, util=100.00%
sdo: ios=787226466/0, merge=0/0, ticks=722200707/0, in_queue=737673635, util=100.00%
sdp: ios=789062478/0, merge=0/0, ticks=723648481/0, in_queue=737820918, util=100.00%
sdq: ios=786121713/0, merge=0/0, ticks=722203635/0, in_queue=752578258, util=100.00%

These structures are the reason:
struct disk_util_stats {
uint32_t ios[2];
uint32_t merges[2];
uint64_t sectors[2];
uint32_t ticks[2];
uint32_t io_ticks;
uint32_t time_in_queue;
uint64_t msec;
};
struct disk_util_agg {
uint32_t ios[2];
uint32_t merges[2];
uint64_t sectors[2];
uint32_t ticks[2];
uint32_t io_ticks;
uint32_t time_in_queue;
uint32_t slavecount;
fio_fp64_t max_util;
};

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
7eebf50b44c46d73411608887057efc47882a3d2 19-Nov-2014 Jens Axboe <axboe@fb.com> client: defer local trigger execute until after state is received

Don't run it immediately, we have to wait until we receive the
data from the server.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
3d0be7c29998f5645a8d71f4a7b4cc43900ff5bc 11-Nov-2014 Jens Axboe <axboe@fb.com> client: replace duplicate code with read_data()

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
de54cfd8b8e93d2a32a02961f1587b83f0763aa8 11-Nov-2014 Jens Axboe <axboe@fb.com> Add support for verify triggers and verify state saving

This allows you to (for instance) instantly terminate a verify
write workload, and then later that everything was written
correctly up to that very point. This can be useful for testing
powercut scenarios, which is often problematic on storage
devices.

The trigger part is a file based notification scheme, similar
to what is provided for the status dumps. When triggered,
fio will exit immediately and write the verify state safely
to disk. A trigger can be accompanied by a trigger command.
Say you wanted to test powercut safety, the trigger could be
something that immediately cut power to the machine.

The verify state is either saved locally (if run locally),
or saved over the network if run in client/server mode.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
623216dc7051bca6f52462c00ac9fad65537654b 08-Nov-2014 Jens Axboe <axboe@fb.com> client/server: percentile_precision wasn't net converted

We'd get 0 precision on the percentile dumps, which was confusing
and lost info.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
0f7f9a918590b45589224568245f75e2dbff9e14 06-Nov-2014 Jens Axboe <axboe@fb.com> Make fio -Wshadow clean

Found a few issues, actually.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
722b5cdbed4fa296fd7c2b38ae61938c424d155a 15-Oct-2014 Jens Axboe <axboe@fb.com> client: fix potential NULL dereference

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
2b827faedef7fc8b62a993e07e623e84dcd3f1b3 14-Oct-2014 Jens Axboe <axboe@fb.com> server/client: don't use __ conversion functions if not needed

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
30f8e31626ead5d71814f2e4299ef878f3b87ecf 13-Oct-2014 Jens Axboe <axboe@fb.com> client: partial revert of 9899aff3e345

We do need the client->nr_stat, otherwise things break when
group reporting is not used. We need it to keep track of
how many thread_stat's we are expecting to receive from
each client.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
8c04b69f5f07e966afe9aeb88254f4b648a95a65 13-Oct-2014 Jens Axboe <axboe@fb.com> client: get rid of (now) unused client->nr_stat

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
bfa8f5dafb24cbe6b4782189e95531a522f8789f 13-Oct-2014 Jens Axboe <axboe@fb.com> client: always output summed output for all clients

At least if we have more than 1 client.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
67e149c4c2b580089287813246344908770c3be9 09-Oct-2014 Jens Axboe <axboe@fb.com> stat: add dropped ios to the standard output

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
79ecc307e5dd47d9ea4f4162b1dd4d3d76a003ca 08-Oct-2014 Jens Axboe <axboe@fb.com> client: remember to zero pad filename

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
3589918ceb15ffdc795c963923ce10ac9b9c87d5 08-Oct-2014 Jens Axboe <axboe@fb.com> Add support for --remote-config

This allows you to tell a fio server to open a local job file,
as opposed to being passed one that the fio client opens and
sends to it.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
54bcda588f63c0f10ab2b7d543e58973745a738d 23-Aug-2014 Castor Fu <castor@egocast.org> Fix crash in client with NULL hostname

Fix this by adding an empty hostname.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
bac4af11424ddeb340968c4ba4fc88df4f5c1ad0 03-Jul-2014 Jens Axboe <axboe@fb.com> Add support for storing compressed logs

If log_store_compressed is set, fio won't decompress for storing
them in a file. Instead, you can use --inflate-log=logfile.fz to
output the contents to stdout.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
e8c4fb0a92dc4bcc2ded2ef26fcc226f6aaadb6d 02-Jul-2014 Jens Axboe <axboe@fb.com> client: fix missing init of 'i'

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
f2b9a67fee8dcbbe88bb0dbd87c058cd750961bf 01-Jul-2014 Jens Axboe <axboe@fb.com> client: fix missing pdu->log_offset endianness conversion

Make the iolog sample number uint64_t as well, so we have
the same size across 32 and 64-bit archs.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
ccefd5fea1de87a83db9c372985b69f4fbbe922c 01-Jul-2014 Jens Axboe <axboe@fb.com> Add option for including byte offset for each log entry

When iops/latency/bw logs are used in the job, we can note the offset
at which the specific data entry took place.

Based on an initial patch from Abutalib Aghayev <agayev@gmail.com>.
Extended by me to:

- Not do this by default, as not to add 8 bytes to each log entry
stored.

- Add support for the client/server protocol.

- Add documentation.

We should bump the server protocol rev again, but that was just done
in the previous commit, so...

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
27b9155da0c3c91b791482c295edfe06aaba5c77 27-Jun-2014 Jens Axboe <axboe@fb.com> client: fix ETA run_str

We never touched it before, which meant the client would just
display an empty string. Make a valiant effort to allocate and
output the run_str.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
1cb964148482b2d50b1f82966f96545ebeec6428 14-Apr-2014 Jens Axboe <axboe@fb.com> client: fix potential buffer overrun in socket path

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
a3b4cf7dcae447729f0f4a4ea122f605b909ed70 11-Apr-2014 Jens Axboe <axboe@fb.com> diskutil: separate out stats from name

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/client.c
3aa3ceeb5c93f05e50d13a0e8f374843e6cb8ec5 25-Jan-2014 Jens Axboe <axboe@kernel.dk> client/server: don't reset ipv6 expectations

fio_server_parse_host() no longer falls back to ipv4, so just
pass in the actual value, not a reference.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3e260a46ea9a8de224c3d0a29a608da3440f284a 09-Dec-2013 Jens Axboe <axboe@kernel.dk> Add options to have fio latency profile a device

This adds three new options:

- latency_target. This defines a specific latency target, in usec.
- latency_window. This defines the period over which fio samples.
- latency_percentile. This defines the percentage of IOs that must
meet the criteria specified by latency_target/latency_window.

With these options set, fio will run the described workload and
vary the queue depth between 1 and iodepth= to find the best
performing spot that meets the criteria specified by the three
options.

A sample job file is also added to demonstrate how to use this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
952b05e00103bf45576e1860cde0626bd42ed52a 31-Oct-2013 Castor Fu <castor@alumni.caltech.edu> Add json output for client/server mode

In client/server mode, this adds support for json mode. Each job's
details are gradually accumulated and upon completion the client
dumps the full json tree. The tree is annotated with the server
host and port.

Signed-off-by: Castor Fu <castor@alumni.caltech.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
03a22d9188def5a2643c577a70d410f65a3e8f79 16-Oct-2013 Hong Zhiguo <zhiguohong@tencent.com> client: fix free of wrong pointer

Signed-off-by: Hong Zhiguo <zhiguohong@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
65e1a120131f069fda859498ff4565a9b6e16dc2 30-Aug-2013 Jens Axboe <axboe@kernel.dk> client: fix compile warning on platforms where pfds->fd is not an int

It's apparently a long on some platforms.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
4e0a8fa2593006505b7f4e18931a201d221b49e9 15-Apr-2013 Jens Axboe <axboe@kernel.dk> Fixup bad logging types

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
714e85f340194409d0abcf643cd2f154a7380a74 15-Apr-2013 Jens Axboe <axboe@kernel.dk> eta: improve output for threads sitting in TD_SETTING_UP

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3989b14303458519192f4ace8caf091d587f5e6e 12-Apr-2013 Jens Axboe <axboe@kernel.dk> Make use of zlib optional

Fio uses it to compress io logs between the client and server.
But let them handshake on this requirement when they connect
and probe, and fallback to just sending the logs in plain
format if both of them do not support zlib compression.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
ed2c0a120c9ebc7770fe14ef47f9d302c11cdfda 11-Apr-2013 Jens Axboe <axboe@kernel.dk> client/server: pass ->unit_base properly

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
16725bb04ffc0d58af3f1fe91cd58b31961a74f7 11-Apr-2013 Jens Axboe <axboe@kernel.dk> client/server: pass je->rate[] and je->iops[] over the net

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
22f80458a520d0c5371c64bf91d24cdd21dff825 09-Apr-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
eta.c
fio.h
init.c
options.c
stat.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
ad705bcb7e79a7cdb9891db17b4c40b13b6c30c3 09-Apr-2013 Steven Noonan <steven@uplinklabs.net> implement 'unit_base' option to select between KB and Kbit et. al.

With network testing, it's often desirable to measure in terms of
kilobits/megabits rather than kilobytes/megabytes. This adds an option named
'unit_base' which can be set to either '1' or '8', where '1' means represent in
terms of bits and '8' means to represent rate in terms of bytes.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
95820b6e6c92025df8d89c0bf39b174e53137c41 31-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
client.c
configure
fio.c
fio.h
server.c
server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
771e58befea806d2d881953050c4e65329eee382 30-Jan-2013 Jens Axboe <axboe@kernel.dk> Add unified_rw_reporting option

If this is set, then fio will sum and display just a single set
of statistics for any IO type. By default, fio accounts and reports
each data direction separately.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
78799debc66f717469e751b3b9eb5dfa48cc547b 29-Jan-2013 Jens Axboe <axboe@kernel.dk> client/server: fixup missing TRIM conversions

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
836fcc0fceb233ebcc41ee63b4ea5cae20b678a4 24-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.c
fio.h
ioengine.h
options.c
os/os-linux.h
server.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
67bf982340d95ca98098ea050b54b4c7adb116c0 10-Jan-2013 Jens Axboe <axboe@kernel.dk> Add configure script

Get rid of all the fragile guessing and checking of features,
and roll a configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
78c1111eacdb594e0488d5adc508091fc2a3af88 09-Jan-2013 Jens Axboe <axboe@kernel.dk> Fix variable type warning

Bruce reports:

With 2.0.13 on FreeBSD there's also a warning from client.c:

client.c:24:18: warning: field 'eta' with variable sized type 'struct
jobs_eta' not at the end of a struct or class is a GNU extension [-Wgnu]
struct jobs_eta eta;

Re-order ->eta and ->pending.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
1e5324e723116a5faf9da686993cc79c14d62d4b 14-Nov-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.h
options.c
parse.c
parse.h
server.c
server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
108fea772db5f1dd91e2fb67737e3e0d36827b76 14-Nov-2012 Jens Axboe <axboe@kernel.dk> client/server: fixup "All clients" reporting

We didn't properly account for no group_reporting and multiple
jobs on multiple connections.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
f681d0bac9c42e5d6bcb3601d2f3cfaa1c2cefb4 11-Oct-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio
2f694507513e44e59139f57f28e08c5d0772880e 10-Oct-2012 Bruce Cran <bruce@cran.org.uk> Windows: handle SIGBREAK.

The only way to send a POSIX-style signal from another application on Windows
is to use GenerateConsoleCtrlEvent with either CTRL_C_EVENT or
CTRL_BREAK_EVENT. CTRL_BREAK_EVENT is the only one which gets through to
applications, so add a signal handler for it to allow fio to quit cleanly.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
298921d65ea914873cbc270af6663dad9e08b782 24-Sep-2012 Jens Axboe <axboe@kernel.dk> client/server: update for trim addition

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
d79db1222039e906dd49ae290daa59701f4e2385 24-Sep-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.h
init.c
io_ddir.h
options.c
server.h
stat.c
stat.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
f3afa57e36550288340f1b6c694f354ae72654b9 17-Sep-2012 Jens Axboe <axboe@kernel.dk> Add --output-format command line option

Right now we have normal, terse, and json output. Lets add a parameter
that controls how to output results, instead of having options for
both terse and json outputs. If we are going to add a 4th output
type in the future, it's only going to get more messy.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
14ea90edf265aae2b82f25418fde179c452909f9 26-Aug-2012 Jens Axboe <axboe@kernel.dk> client: support per-client job files

Currently the fio network client sends all job files to all clients.
This isn't very flexible.

Add support for specifying a specific job file for each client. Example:

$ fio --client hostname1 jobfile1 --client hostname2 jobfile2

would before add jobfile1 and jobfile2 as job files for both clients.
With this change, only jobfile1 is sent to hostname1, and only
jobfile2 is sent to hostname2.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
bd02360115abe2553626a8db663ed580ab93e978 26-Aug-2012 Jens Axboe <axboe@kernel.dk> client: support per-client job files

Currently the fio network client sends all job files to all clients.
This isn't very flexible.

Add support for specifying a specific job file for each client. Example:

$ fio --client hostname1 jobfile1 --client hostname2 jobfile2

would before add jobfile1 and jobfile2 as job files for both clients.
With this change, only jobfile1 is sent to hostname1, and only
jobfile2 is sent to hostname2.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c41a9d06a1957ba7c5a019e3d6088a5e8e8e0a47 11-May-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
client.c
eta.c
server.c
server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
b7f05eb03c84bdc1259d1bb1c348328b16164430 11-May-2012 Jens Axboe <axboe@kernel.dk> eta: ETA bandwidth was off by 1.024

Same fix as 033bbb51 essentially. Since mtime is a 1000th of a second,
for the usual option of having 1024 be the KB base, we end up being
off by 1.024 if we don't multiply by 1000 before dividing by the
runtime (and then dividing by 1024 to get to next power-of-2).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
0922d61ffe92cf10a563d7168decec84ab7a0d16 16-Apr-2012 Jens Axboe <axboe@kernel.dk> Get rid of fio_version.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
8029542b67e81c8ea83a0d71929426ec8439f9af 16-Apr-2012 Jens Axboe <axboe@kernel.dk> Get rid of fio_version.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>

Conflicts:

fio_version.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
4c6d91e8808fd11f3cee663e42db813b0934c8bb 30-Mar-2012 Jens Axboe <axboe@kernel.dk> Define SIGUSR1 to inform fio to dump run stats while continuing to run

For long running jobs, it may be interesting to see the stats without
having to terminate the job. Set up SIGUSR1 so that it does that,
gives you the stats at that point in time.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
b852e7cf097cec1c7fb92305f9c3c6b394bb39ad 30-Mar-2012 Jens Axboe <axboe@kernel.dk> Define SIGUSR1 to inform fio to dump run stats while continuing to run

For long running jobs, it may be interesting to see the stats without
having to terminate the job. Set up SIGUSR1 so that it does that,
gives you the stats at that point in time.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
649cee91722e8e582b30175a1493f2815ae75f06 28-Mar-2012 Jens Axboe <axboe@kernel.dk> client: remove command reply after calling into client update_job

Ensures that it's definitely processed by the time the client
has waited for it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
40c605169e60d32fc321a2f9f465e76cba745489 27-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: start of being able to update options

Not quite done yet, but it's a start.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3c3ed070502bbfec387ded2c43d5e4559ca24a63 27-Mar-2012 Jens Axboe <axboe@kernel.dk> White space spring cleaning

Lets squash them all, with a bit of tooling help.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
80102c86786d7d50ba72366cee03061735b3cbac 23-Mar-2012 Jens Axboe <axboe@kernel.dk> client: use eta msec as the poll interval

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
0cf3ece062d6856bd79b89770780296c99937a98 21-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: update for handling files, connections, states

Big update, changes:

- Notify from client helpers when a client is removed. This helps
gfio track this.

- Make the connection states more bullet proof. You can now connect
and disconnect, and expect connect to work again.

- Limit number of files opened through file selection or drag'n drop
to just 1.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
1e0c184e7cf03c8126e6e8dff4c45584283e6b9b 20-Mar-2012 Jens Axboe <axboe@kernel.dk> client: don't leak file descriptor on exit

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
122c772599f1b0a3148a5790775698d3fa92cc10 19-Mar-2012 Jens Axboe <axboe@kernel.dk> server: make client connections fork off

Instead of handling connections inline from the server, fork
them off before running them. This makes the able to handle
the idle loop command send/reply directly, without being
invoked from the idle loop.

New connections are forked off automatically as well, leaving
the server free to accept new connections. Not sure we want that,
or at least it should be an option to return BUSY on attempted
new connections.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
2f122b135b7319ff8dd04dadf31ff28b301051a3 15-Mar-2012 Jens Axboe <axboe@kernel.dk> Add thread number ID to appropriate network commands

The client doesn't necessarily have a 1:1 mapping between jobs
and its internal job representation, so allow it to tell the
various jobs apart.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3c547fe0547c924ca5174d9aa36720ddb441480a 14-Mar-2012 Jens Axboe <axboe@kernel.dk> client/server: zlib error code fixup

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
f5ed765adadc5dca61efb5fc103fa5cd0310bcec 14-Mar-2012 Jens Axboe <axboe@kernel.dk> server: convert iolog in place instead of copy allocating it

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
1b42725f06f8906b9b99381da3490484f59df28a 14-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: Add support for sending logs over the network

This is for things like bw log, latency logs, etc. We add
a new depedency, zlib, for this. The logs can be quite big and
the network is not necessarily super fast, so we compress them
using zlib.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
46bcd498f7b3fb55f7f048bf299f36bd8c8f7db1 14-Mar-2012 Jens Axboe <axboe@kernel.dk> client/server: pass type of client to the backend

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
35c0ba7ff55bbd438cdc171945c61d501a4e693e 14-Mar-2012 Jens Axboe <axboe@kernel.dk> client: unify cmd handling ops

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
e476994eed3bee246ca166ea6ad6018911408e9b 13-Mar-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
client.c
fio.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
3af452010d32267d085ba1612ebc0a40812c28a9 13-Mar-2012 Jens Axboe <axboe@kernel.dk> Client reference fixes

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
85dd01e7d7fa9989bf55002bc416c4d8118fdf5f 12-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: improve Job menu

Still need to figure out how to make certain items in the
job menu sensitive/insensitive, apparently I can't lookup
the item widgets (only the menu widget).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
6433ee054a5dc6533066e105baee4ff85197d392 09-Mar-2012 Jens Axboe <axboe@kernel.dk> client: make ETA interval poll period configurage in fio_client_ops

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
d824c3b8b5847e8de80511f3aafda939a3f61bb8 09-Mar-2012 Jens Axboe <axboe@kernel.dk> client: send probe from fio_client_connect()

We only do it from fio_clients_connect() now, better move it
into the lower per-client handler. This gets probes working
with gfio again.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
343cb4a98200757bdcb0c5203e9120bb777625a8 09-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: hold a reference to the fio_client structure

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
25095e1bbcdc9f79f7052f6ff79e4b7245cce955 09-Mar-2012 Jens Axboe <axboe@kernel.dk> client: return more errors

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
a1a3ed5143e7fe153d114f9ff96bfbc5dc14a156 09-Mar-2012 Jens Axboe <axboe@kernel.dk> client: return errno on connection failure

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
9988ca70151a191c477179be7999300ddff16230 09-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: handle clients individually

Now we have per-client support, don't use any of the "do FOO for
all clients" functions.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
2f99deb0895b2d0b618e6e72c74add7192b4d73f 09-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: start of support for notebooked jobs

We split struct gui into a main window and per-client part,
having a separate style of layout for each.

This needs a lot of work still, but it gets the point across.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
b9d2f30a214ebd274340f888739be250838d63c2 08-Mar-2012 Jens Axboe <axboe@kernel.dk> Separate the act of adding and starting a job

CMD_JOB or CMD_JOB_LINE only adds the necessary jobs, which will
automatically return the job option info to the client. Let the
client do what it wants with the options, then have the client
send a CMD_RUN command to actually start the jobs.

Next we'll have a command for passing back edited options, so that
the client can update existing options.

This adds a new button to gfio, to note this split of add and run
as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
5d7793aa2b1dc1044b1918d829a1bcd4c9a19196 08-Mar-2012 Jens Axboe <axboe@kernel.dk> server: rename CMD_RUN to CMD_SERVER_START

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
8c621fb2aa4b99c8a8b6b62435d713ab39b52c62 08-Mar-2012 Jens Axboe <axboe@kernel.dk> client/server: store/convert/send jobs_eta->nr_threads too

We still need to handle jobs_eta->run_str[] as well...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
6b79c80c14766df7b0507c4ec679507a315ad61a 08-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: improve stop handling

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
e55f8f307385e77ea561e7bbf9c76842ead9d7a3 06-Mar-2012 Jens Axboe <axboe@kernel.dk> Add client references

We have a use-after-free in the fio_handle_clients() loop.
If we receive a QUIT command, we remove the client in
fio_handle_client(). But fio_handle_clients() doesn't
have a way to detect this, so it checks client->error
after it has potentially been freed.

Add a simple reference to get rid of this problem.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3650a3ca2ccbfefe7564d6ebde03bf7f89255e89 05-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: start of proper end results data display

Incomplete, it's just a start.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
5121a9aa0299a2c23b3c50bf110ab4a05677c740 05-Mar-2012 Jens Axboe <axboe@kernel.dk> Add client references

We have a use-after-free in the fio_handle_clients() loop.
If we receive a QUIT command, we remove the client in
fio_handle_client(). But fio_handle_clients() doesn't
have a way to detect this, so it checks client->error
after it has potentially been freed.

Add a simple reference to get rid of this problem.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
89e5fad91bc33f1687cca6b1bf5aa3084c424650 05-Mar-2012 Jens Axboe <axboe@kernel.dk> Pass in client for thread/group status op

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
a52766160d7f2a937c74d4adee1819ef00467d4b 04-Mar-2012 Jens Axboe <axboe@kernel.dk> Store specific client ops in the fio_client structure

We could be handling a mix of gui and cli clients from the server,
so passing. Plus this is a lot cleaner.

Also unify ETA opcode handling between clients.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3bf236c082e36f222b64edf9ae2bd7637156d0ac 03-Mar-2012 Jens Axboe <axboe@kernel.dk> Convert net commands in the generic command handler

Removes this from the cli/gui client, it can be handled
generically.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
084d1c6f817eacaaefa1de4f0637ef6c1405d74b 03-Mar-2012 Jens Axboe <axboe@kernel.dk> Add new net command for text logging

Encapsulate the text in a payload, that also includes the
logging level and the time the event took place. The text
client will do as it always has done, but the gui client
can now do proper logging and knows if this is debug/info
or error messages.

No functional change in the GUI.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
ed727a4632fa3195f31758c79e209ca8d524bbc4 02-Mar-2012 Jens Axboe <axboe@kernel.dk> Add support for client timed out ops

Just opens a dialog window.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
807f9971e7bfedfc905d2cb2c38a6e558db2f343 02-Mar-2012 Jens Axboe <axboe@kernel.dk> Add more job info

Adds a specific command to be sent when a job is received by
the backend. Helps fill out the GUI fields for job values.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3ec62ec45ce971b76dd3029412dfd3d0c6221384 01-Mar-2012 Jens Axboe <axboe@kernel.dk> More gui changes

- Move progress bar into connect/start field
- Pretty up port/type boxes
- Hook better into adding clients
- Add ->quit hook for client ops
- Ensure fio_handle_clients() stays connected for GUI clients
- Stop server from repeatedly sending RUN commands

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3e47bd250cac5fb81a5c0ad578dfbe90c6ddf6de 29-Feb-2012 Jens Axboe <axboe@kernel.dk> Update GUI to attempt to graphically handle ETA output

The whole layout will probably be changed, but for now it
demonstrates how to properly integrate with the net client
to handle the data and output it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
0f92bd205af256af6d4a12cc8883f68b4d23ca85 29-Feb-2012 Jens Axboe <axboe@kernel.dk> Move client structure into client.h

GUI will need it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
0420ba6a85617cb02e196ac92e519191dafc6c52 29-Feb-2012 Jens Axboe <axboe@kernel.dk> Various GUI updates

- Add File menu, move job file to File -> Open
- Kill Quit button, move to File -> Quit
- Move client setup and load closer to what we want
- Use c99 style for client ops

Various little changes.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
04cc6b77973636a914de3dff8ca6ae0857cf453b 24-Feb-2012 Stephen M. Cameron <stephenmcameron@gmail.com> fio: Use a progress bar instead of a label

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
ba936c4b474bd4c5d4b07127561d07644823bc65 24-Feb-2012 Stephen M. Cameron <stephenmcameron@gmail.com> fio: capture thread status display

The thread status display uses printf to stdout.
Need a way to capture it for the gui.

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
dd366728eb503e6344215ae6ec153c7ab6eafd9b 24-Feb-2012 Stephen M. Cameron <stephenmcameron@gmail.com> fio: make client operations pluggable

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c2cb68696255a8fda93043a1f2219b60af614549 23-Feb-2012 Jens Axboe <axboe@kernel.dk> client: exit if no jobs were sent and client is idle

If we invoke the client without arguments, it gets the probe
response and then waits for further response from the server.
But if no command line or job files were sent, the server
is idle. In that case, just quit.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
93bcfd20e37cef8cec350fe06d3a086724c9f257 20-Feb-2012 Bruce Cran <bruce@cran.org.uk> Move Windows port to MinGW

- Add calls to WSAStartup in the network code as required by
Winsock.
- Add Windows-specific init_random_state function which uses the
Crypto API.
- Move Windows port to MinGW and update build system to create a
64-bit binary by default.
- Install text files as .rtf so they won't open in Notepad by default
(Wordpad understands Unix line endings; Notepad doesn't).
- Simplify WiX installer code.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
823ba54bfc91f18fdd847e6efc41b422529bc4f8 07-Nov-2011 Anton Blanchard <anton@samba.org> Fix big endian build

I get the following error when building fio on PowerPC:

client.c: In function ‘convert_agg’:
client.c:641:22: error: invalid operands to binary & (have ‘long double’ and ‘long long unsigned int’)

It looks like we have things backwards, we should byteswap the
integer value before we convert it to a double.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
811826be429fd6fc5154d9b04ced1cd22bd66758 24-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: IPv6 support

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3899076470e108d9815a322aaa97e662d141b50c 17-Oct-2011 Jens Axboe <axboe@kernel.dk> Fix possible use-after-free on client disconnect

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
498c92c27b475bcc0cb65e529fb02713bc1fb62c 17-Oct-2011 Jens Axboe <axboe@kernel.dk> client: pass back server side error to client exit value

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
11e950bd785d9f03b7d35a8ee4b4704256217504 16-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: send back nr_jobs and error exit code

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
01be038efc66ea1b49b4471f2ba9dd2d7121cfe7 15-Oct-2011 Jens Axboe <axboe@kernel.dk> Don't request ETA until server has started jobs

Otherwise we time out when file layout takes >= 5 seconds.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
f2f788dd732d97c2c3a5f5dd93223a7bfafcc410 13-Oct-2011 Jens Axboe <axboe@kernel.dk> Add disk utilization to terse format output

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
d09a64a01a6c807596e9286c93f6c6f30fd2ea26 13-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: add support for passing disk_util structures

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
d2333358fb3729de6681ed5cc3ec45cd86b5cfb8 11-Oct-2011 Jens Axboe <axboe@kernel.dk> client: cleanup bit printing

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
38fdef226f1a1fa053ab53005abbc184143bff65 11-Oct-2011 Jens Axboe <axboe@kernel.dk> server: include 32/64-bit in probe

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
df380934e53c645b4b7cdec882b512b4d20ebc14 11-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: fix ptr <-> uint64_t casting warnings on 32-bit builds

Not actually a bug, but gcc complains.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
5fd0acbd212296542d396b07e1873b9e3093b76f 11-Oct-2011 Jens Axboe <axboe@kernel.dk> client: dec sum_stat_clients if one a client is disconnected

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
37f0c1ae23ad1716403d3d113c3dfdf41c47e329 11-Oct-2011 Jens Axboe <axboe@kernel.dk> client: display summed total of all clients when all stats have been received

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
89c1707cb512e562b55b56c268f7fad612be6f04 11-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: track and handle command timeouts

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3f3a4542887ba038231144be08b2c36d7cc83424 10-Oct-2011 Jens Axboe <axboe@kernel.dk> client: duplicate arguments to "empty" clients

Now you can do:

fio --client=host1 --client=host2 --arg1 --arg2 --arg3

and arg1,2,3 are passed to both clients. If you do:

fio --client=host1 --arg1 --client=host2 --arg2 --arg3

then arg1 is passed to host1, while arg2,3 are passed to host2.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
f77d2676c36ec30cfb765b90505bdda7208c9796 10-Oct-2011 Jens Axboe <axboe@kernel.dk> client: properly assign client eta in flight

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
7f868316a7244cad23735e44e6ef66e5779c9660 10-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: few select speedups

Don't alloc/free when we can reuse, and don't calculate string
lengths twice.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
82c1ed38d6c90c03beda072ed064a445ecb56aca 10-Oct-2011 Jens Axboe <axboe@kernel.dk> client: track pending ETA requests

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
af9c9fb34e420fc4d9cf317aa0f3cf6795a5a07f 09-Oct-2011 Jens Axboe <axboe@kernel.dk> client/server: request ETA instead of having the server send it automatically

Also changes the 'serial' of the command to a tag, that's passed
back and forth for commands that need to use it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
48fbb46e7c9a2721b3b23898ab9ec79727ab4e9b 09-Oct-2011 Jens Axboe <axboe@kernel.dk> client: sum running ETA of jobs

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
b51eedb75e3f1a9db33fa488ff7d9cc0a956b8ee 09-Oct-2011 Jens Axboe <axboe@kernel.dk> client: fix jobs_eta conversion typo

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
fa2ea806de0d6410320abd97599bc52f5a3e72cc 08-Oct-2011 Jens Axboe <axboe@kernel.dk> Add protocol support for an arbitrary number of command line arguments

Make it more efficient as well, don't pass a lot of potentially
padded space, pass only the exact amount required.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
b5296ddb3f34610e4bd90272bf5035a41691d00f 07-Oct-2011 Jens Axboe <axboe@kernel.dk> client: used hostname passed back in probe as log prefix

It's better than the connect name/IP/sock.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c71233ee4aa050efc8a099df1482238b12f826ef 07-Oct-2011 Jens Axboe <axboe@kernel.dk> client: pretty up probe output

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
9d4b1cf7c142c3c34bd6302c5da7bb498189eac2 07-Oct-2011 Jens Axboe <axboe@kernel.dk> client: don't clear client->addr after it's been set

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
a7de0a1163e63cb6fa0a6bad773c415d06d154ac 07-Oct-2011 Jens Axboe <axboe@kernel.dk> server: ensure to set proper port

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
cca84643cc10cd72b0b453ff92ccb8643ba51493 07-Oct-2011 Jens Axboe <axboe@kernel.dk> Pass arch/os in probe

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c524ef72414f227ae4fcbfc95b832b3e6a95ae51 07-Oct-2011 Jens Axboe <axboe@kernel.dk> client: fix mem leak

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
25c67f829687c91966f5efabdc71c71034e791b2 07-Oct-2011 Jens Axboe <axboe@kernel.dk> client: remove leftover debug printf()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
bebe639808147d587bbe776566d390b9ff98773f 07-Oct-2011 Jens Axboe <axboe@kernel.dk> Unify client/server argument

Add documentation as well for client/server.
Get rid of name hash for clients, just pass a cookie back and forth.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
b94cba47cfdf96e72ec894080b3a7bf645a86e9c 06-Oct-2011 Jens Axboe <axboe@kernel.dk> Remember to close sockets on error

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
87aa8f1901e26bc377f3035a485d35c417d0255a 06-Oct-2011 Jens Axboe <axboe@kernel.dk> Add support for client/server connection over unix domain sockets

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
3c5f57e36712decffa103c8a655b9a693c6d3d13 06-Oct-2011 Jens Axboe <axboe@kernel.dk> client: add hashes for fd/name lookups

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
e951bdc47d094d43d6f41de95c6af191b8346459 05-Oct-2011 Jens Axboe <axboe@kernel.dk> server: require poll before fio_net_recv_cmd()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
2b7d9d5bba54ea0252f36d851c90fa4679aa0392 05-Oct-2011 Jens Axboe <axboe@kernel.dk> client: improve handling of multiple clients

Don't serialize around reading from one of them.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
28d3ab07f7c68afe9ad3b07bb9c288f3e94957da 05-Oct-2011 Jens Axboe <axboe@kernel.dk> client: disconnect on read failure

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c2c9458515bda1f77e25f95122ef6ec8d8cc3ec7 05-Oct-2011 Jens Axboe <axboe@kernel.dk> client: ensure that cmd line arguments are always run

Even if they don't create a job, like --version etc.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
7a4b824059d9ce4b5151e904219c9b5e757ffd3b 05-Oct-2011 Jens Axboe <axboe@kernel.dk> client: check and error out on exceeding number of command line args to pass

Also cleanup up the handling of them, using a flag to know which
options to handle locally vs remotely.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
9a7e10b9ea0548c8446b45b554fab92db25a0cc6 05-Oct-2011 Jens Axboe <axboe@kernel.dk> client: prefix server text messages with <hostname>

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
1f39e5556fc0418ac6d1bd8531a91c94836a6350 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Fix warnings about unused fwrite() return value

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
802ad4a83e92a30b5fdccf117d59fbb69068c054 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Change network transmitted doubles to fio_fp64_t IEEE 754 type

Encode and decode when transferring over the network.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
d05c4a03365f1b677c05840865e67ffaf2c5b05b 05-Oct-2011 Jens Axboe <axboe@kernel.dk> AIX fixes

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
6eb2479194603184f393057ea10326643edc7169 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: fix sk typo and add endian type to probe

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
9e22ecb0271038f61e00e448d8839f0c1bf6017e 04-Oct-2011 Jens Axboe <axboe@kernel.dk> Need signal.h for sigaction()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
39e8e01691c9d5765795417ee49a40d5ae08cb8b 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: more debug dumping

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
60efd14e3b5b5a2adb9f7c9ecfb9bfba38f76ce9 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: add a few more debug logging statements

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
17dd17648d337479104cbdbe177214ddb69a18ce 04-Oct-2011 Jens Axboe <axboe@kernel.dk> client: improve handling of non-newline text strings

Only prepend hostname if this is a new line.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
5c2857f9f5cb350c9441be3f3e1cd7c9dc18b1c5 04-Oct-2011 Jens Axboe <axboe@kernel.dk> client: improve poll() loop

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
81179eec4a84ff25c190a8a6a685b0b3b4dd2a37 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: initial support for command line passing

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
0b8f30a5691b9e600a06ded035996e79c2100d77 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: fix for non zero appended strings

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
70e0c3166fdb8048b1e7f84be2371fc60af04f87 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: idle loop support

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
2e03b4b2a072b79946b0ee651dff38273868473a 04-Oct-2011 Jens Axboe <axboe@kernel.dk> client: probe command support

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c28e8e8c68f7e908085f4585299e6e4d74d01837 04-Oct-2011 Jens Axboe <axboe@kernel.dk> server: error handling and probe command

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
cdf54d85054858d9e3fc4d7ee8ea5c6a418f1b43 04-Oct-2011 Jens Axboe <axboe@kernel.dk> client: handle connection failure

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
93eee04aef9ed39070ce2e69bd1f661a95b1d50a 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: fix typos in conversion

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
cc0df00ad5076d4adbc439899f24d9b0db26075d 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: attempt to handle client ctrl-c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
cf451d1ede3bbbd2fed3619eb43def054d5b5a5a 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: add ETA as a specific command

No more text passing for ETA.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
ddcc0b69aa4ed04c8681f447a1a6274bb8837a14 03-Oct-2011 Jens Axboe <axboe@kernel.dk> Add type checking to 16/32/64 endianness converters

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
a450e4924ad4ae4a05015e55cb54c78fb0c5015f 03-Oct-2011 Jens Axboe <axboe@kernel.dk> client: fixup quit

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
a64e88dad0c0e4a510ae8ab54cde1a20b99c59d1 03-Oct-2011 Jens Axboe <axboe@kernel.dk> server: transmit status as structures, not text

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
c77a99e74e88a8ea1a8c0904aef3f7c81e07273f 01-Oct-2011 Jens Axboe <axboe@kernel.dk> server: malloc/free fix

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
46c48f1f9b8ce94132c13638e4c83c13e1d392da 01-Oct-2011 Jens Axboe <axboe@kernel.dk> server/client: add FD_NET debug clues

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
82a4be1bcef4228233e61b0b034ad6eb78a7558c 01-Oct-2011 Jens Axboe <axboe@kernel.dk> client: re-setup poll fd array in case a client disappears

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
a37f69b72a74cbde6151458b890aab8d093f0c9f 01-Oct-2011 Jens Axboe <axboe@kernel.dk> client: continue support for multiple connections

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
b66570dce15587a37a64685f8ab72c3018771b2b 01-Oct-2011 Jens Axboe <axboe@kernel.dk> client: initial support for multiple connections

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
794d69ca97738736844ee6a6da37f1ef686578cb 01-Oct-2011 Jens Axboe <axboe@kernel.dk> server: ensure payload larger than max is broken into pieces

For debug purposes, set the max payload size to 64 to catch any
further issues while developing this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
437377e14010f4443bd0fd1b40c4e75885520d7d 01-Oct-2011 Jens Axboe <axboe@kernel.dk> server: quit client when job run is complete

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
49d14c0f6ff863508e0aadff3599d040f45626dd 01-Oct-2011 Jens Axboe <axboe@kernel.dk> client: fix error in logging output

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
4d8f87806db144552baea60d9b59e9becffe5925 01-Oct-2011 Jens Axboe <axboe@kernel.dk> Pass more arguments to fio_init_net_cmd()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
142575e6579462656a6d0f7c50ec8c35b8a08802 01-Oct-2011 Jens Axboe <axboe@kernel.dk> Server logging cleanup/functionality

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
37db14feece08eb6e43de87c404180650ed5aa6f 01-Oct-2011 Jens Axboe <axboe@kernel.dk> Start of functional client

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c
132159a5a062cabfe963b3d57e82a80741bf5506 30-Sep-2011 Jens Axboe <axboe@kernel.dk> Add start of client, start of real protocol

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/client.c