History log of /external/fio/goptions.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
12dbd06d3203840c8ebdc4d0a6135a69c4380949 04-Jul-2014 Jens Axboe <axboe@fb.com> flist: add flist_first_entry()

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/goptions.c
ebadc0ce34c11b3e0130d5602b18f4ed0e638386 12-Feb-2014 Daniel Gollub <daniel.gollub@t-online.de> Make parse.h C++ safe by avoiding "or" keyword

Fixes for g++ (4.7.2) following compiler errors when fio.h
gets included (e.g. in an external C++ ioengine):

--8<---
[...]
parse.h:31:6: error: expected unqualified-id before ‘or’ token
[...]
--->8---

Signed-off-by: Daniel Gollub <d.gollub@telekom.de>

Updated by me to apply to recent version, and fix gfio usage
of ->or as well.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/goptions.c
f0fdbcafc3a62b84250e5ccdcaec47e3ffa93a00 11-Feb-2014 Jens Axboe <axboe@fb.com> parse: cleanup difference between profile and normal options

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/goptions.c
7b504eddc4b039f2db3a0626bd08f880c5f4de27 11-Feb-2014 Jens Axboe <axboe@fb.com> parse: get rid of raw option offsets

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/goptions.c
cf7cadec891c9e4226f2d93c2014c87a94ebd730 16-Apr-2013 Jens Axboe <axboe@kernel.dk> goptions: fix bad log_err() type

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
c27d66bf53be3d2353ff50f828fa2f793d302d59 09-Apr-2013 Jens Axboe <axboe@kernel.dk> gfio: add support for FIO_OPT_INT options with posval

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
83ea422a62b8a42b14c362db61c2e7bf53862e80 28-Mar-2012 Jens Axboe <axboe@kernel.dk> Start the process of making options more gfio friendly

We either need to eliminate the option callbacks, or ensure that
they don't have side effects outside of touching td->o. We will
need to use &td->o as the data passed in for the callbacks, not
the full td.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
28db256b569af54e1bb162fc0b5d5b5d9526be98 28-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: change job option view

Instead of having a top notebook containing jobs, and subnotebooks
containing options, have just the one subnotebook and change the
viewed options by selecting the job in a combo box at the top.
This greatly reduces the number of widgets displayed for a big
number of jobs, speeding it up.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.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/goptions.c
bb3d3c4d6cdb52f13353d0019b34de59596e5091 26-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: ensure that gopt_str_multi options get freed

Was missing the destroy handler.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
c04942a21e91d73286094daaa943c7950bb6c224 26-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: let destroy handler free changed options too

We can't touch the memory in the destroy handler, since it could
already have been freed. Just always leave the freeing of option
memory to the destructors.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
f762cef937f69d6a23127baf47f22e8ffaea4c11 26-Mar-2012 Jens Axboe <axboe@kernel.dk> gcompat: provide backwards compatible functions for older gtk versions

Attempt to do something that'll work equally well across gtk versions,
to improve the supported range.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
456fed9b8af36c537632c3351802e6b3aa415962 26-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: fix check button storaage for FIO_OPT_STR_MULTI

i was not incremented...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
a3fc0ff4ba5df645974c46ad01ca74f66666155f 26-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: handle changing of options in job edit

Track what options have changed, and store them into the
options structure that we have for the given job.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
19921181dc8e92ce5320fa32fcb385df9c20a350 24-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: use gopt->gjv for option hiding

We can't rely on gui_data for the gjv lookup, since it'll be
different for each job tab. Instead use the cached value
in the gopt structure, since that is allocate for each client.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
8b3a476e6897370b0d7ed05de559cc49235b7a61 24-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: don't override gopt dep tree by mistake

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
753e9e642f1cf7aa6e46a31aeebc65da26c8bf2e 24-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: add per-job option view

The option view is now a master notebook of jobs that got added
from a given job file, with each tab holding a new notebook
with tabs for the options.

This is pretty slow for big jobs. Adding eg the 1mbs-clients.fio
example job file shows this nicely, since it contains 32 jobs.
Will need to look into how to speed this up.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
cf3d824147fe285bba1c93f341f6e44c34aaccd9 24-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: start of per-job option edit

Currently we don't properly handle job files with multiple
job entries in them, each one just overwrites the last.
Start tracking all of them.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
1c2d868bf950cac4593aa9576b8ca22a25843f78 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: remember to mark option index for FIO_OPT_STR_VAL

Fixes hiding of these options.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
c504ee558187d53c76d417b8d6c9617dd05b762b 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: use glib n-ary tree for option dependencies

We didn't support looking up children of children before, since
it would just be too costly (making the whole 'visible' thing
be N!). Move to a glib n-ary tree for option dependencies, this
is a lot cleaner and faster.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
b2452a433abf78934bcc38ee33ac7892a1297751 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: enable combo box hiding

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
a4ed77fe07de1ca78cd44a6378dc20a2cd1ce7ad 20-Mar-2012 Jens Axboe <axboe@kernel.dk> options: add ->hide_on_set

Normally we hide children if the parent isn't set, but for some
options it's the other way around.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
4fbcd659ecc502d19f31e86359d32cb51324a110 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: don't emit change signals during setup

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
481c242ba127069bed993fc7cc79a0889830ab6b 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: ensure that FIO_OPT_STR_VAL doesn't exceed max multiplier

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
7fc35ff7f50137503236f67ca9deeca0c11a536f 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: better support for FIO_OPT_STR_VAL

Split the value into two components, an integer 0-1023 value
and a combo box with a b/kb/gb/tb/etc multiplier.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
231edf61f9dd7ead3943454f25dde01c5863cfdb 20-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: free opt types on exit from edit options view

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
a8baa347275409b9cbeacc830ab2fdf669034e93 20-Mar-2012 Stephen M. Cameron <stephenmcameron@gmail.com> gfio: clear stale widget pointers on dialog destruction

gopt_widgets and gopt_g_widgets arrays need to be cleared when
the job editing dialog widget tree is destroyed, otherwise you
get a crash or weird behavior if you attempt to edit a job more
than once.

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
8f9e46ab2ce4bfcdb9932e9bf322978474b21502 19-Mar-2012 Jens Axboe <axboe@kernel.dk> goptions: block gtk signal handlers instead of hacking around them

Turns out g_signal_handler_{block,unblock} exists and do exactly
what we need. Use them.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
a01a1bc58d096dd593fa458f99f3c6f423c4b69a 19-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: apply inverse options to buffered/direct

For these, we'd ideally use radio buttons instead. But hard to
pass that info from the options structure, so lets just punt
to inverse check buttons for now.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
90265353af8dbf1c43804996909777d4c1a5998e 19-Mar-2012 Jens Axboe <axboe@kernel.dk> Add support for inverse options

Options that are tied to each other, meaning that if one is
incremented by X, the other is decremented by X automatically.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
d872fb4cd001262962bb5c6bbc5ba0e53537e022 19-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: option improvements

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
7386d4aec9d105ba1409a7491b4b63aec3c7105b 19-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: add support for FIO_OPT_STR_MULTI options

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
e8b0e958cd219cabb1154e2b06036863a7d6dbd7 19-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: improve option edit

Allow grouping of options into both categories, and groups. The
groups are within a category. This shrinks down the number of
job edit tabs a lot.

Work in progress...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
ec0218ff0e7ad3a480a13db33b0e0cd668ef6222 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: make option hiding actually work

We have multiple widgets if they appear in multiple tabs. Keep
track of that and hide them all.

Still need to handle non-bool options, but at least the logic
is sound now.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
b6caa83661e729c8fab46998fc75447dc1a3e06c 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: initial support for hiding child options

If children depend on a parent, we want to hide them if the parent
isn't set. This is initial support for doing that.

Nevermind that it doesn't actually work, the hiding is buggy. And
it's only implemented for the check button type options for now.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
20eb06bd2aef37fa8dd314a110bb81c733115e15 16-Mar-2012 Jens Axboe <axboe@kernel.dk> Allow options to specify intervals

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
1da10c195aecc96f0c7a18fdc971221d527d6a6a 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: sync range spin buttons in edit view

They are paired, min/max for read, and min/max for write. If the user
adjusts the min value larger than max, adjust the max automatically.
And vice versa for the max value.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
d3944493e27d55f66e18781ce1b6071cb91a7ecc 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: correctly input stored FIO_OPT_STR_STORE options

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
39f04336e65ab87c88f39422583d7f39d003240a 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: inherit and show more options correctly in edit job

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
789f4ccdf725e6da8bde98afd004c31e16241cfd 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: demo of how to inherit option values into edit window

We now fill FIO_OPT_STR_STORE options directly into the edited
values.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/goptions.c
9af4a24408ea7d4cea084a4fe214b81145cc36ac 16-Mar-2012 Jens Axboe <axboe@kernel.dk> gfio: start of options view and edit

This is pretty crap right now, but it's exposing all the options.
Now we just need them to reflect the current job, and be able to
update a remote job with a new set of options.

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