summaryrefslogtreecommitdiff
path: root/debug.h
AgeCommit message (Collapse)Author
2018-08-24Add the 'zbd' debug levelBart Van Assche
This debug level will be used in the next patch. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-07-04blktrace: just ignore zero byte tracesJens Axboe
Apparently they do happen. Log a warning (once) and just discard them. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-21Refactor #includes and headersSitsofe Wheeler
- Try and remove unneeded #include lines - Try and add #include lines that would allow the files to be built in a more standalone manner Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
2018-03-21debug: remove extra parensJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-09Declare debug_levels[] constBart Van Assche
Since debug_levels[] is not modified by any code, declare it const. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-06Don't make fadvise failure fatalJens Axboe
It's just an advisory hint. Warn once that it failed, then march on. Fixes: https://github.com/axboe/fio/issues/554 Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-02-12debug: fix inverted logic in fio_did_warn()fio-3.4Jens Axboe
Fixes: 5ec3bc5401f3 ("init: add global 'warned' state") Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-02-12iolog: convert drop warning to fio_did_warn()Jens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-02-12io_u: convert zoned bug warning to fio_did_warn()Jens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-02-12verify: convert verify buf too small warning to fio_did_warn()Jens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-02-12filesetup: convert root flush warning to fio_did_warn()Jens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-02-12init: add global 'warned' stateJens Axboe
In various places we spew a warning if some static variable isn't set, but this still means it can happen once per job. Add some global state to allow to track this globally instead. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2016-08-15Split helper thread debug logging away from steadystate debug loggingVincent Fu
2016-08-15Allow fio to terminate jobs when steady state is attainedVincent Fu
KNOWN ISSUES Will not work over a network connection
2014-07-09Add some basic debug output for log compressionJens Axboe
Guarded by --debug=compress, like the other debug measures. Signed-off-by: Jens Axboe <axboe@fb.com>
2013-12-09Add options to have fio latency profile a deviceJens Axboe
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>
2013-03-04Merge branch 'master' into gfioJens Axboe
Conflicts: init.c Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-02-26debug: make __dprint() have printf() like argument type checkingJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-03-02Add preferences help tooltipsJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2011-10-01Add FD_NET debugging valueJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2010-03-24Add support for specific clock sourcesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2010-03-19Make the dprint() processing out-of-lineJens Axboe
Instead of having the big macro inlined everywhere, only inline the mask check and put the rest out-of-line. This reduces the size of fio with 4% here, and speeds it up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2010-03-19Don't call getpid() in dprint() unless we are going to use itJens Axboe
Reported-by: David Andersen <dga@cs.cmu.edu> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2010-03-04Add support for loadable profilesJens Axboe
Split the only existing profile, tiobench, into this setup. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-01-05Add --debug=mutexJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-05-30Fix build with FIO_INC_DEBUG not includedJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-05-30Make it work on opensolarisJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-05-23Add job number specific dumping and fix atexit() errorJens Axboe
The threads/process jobs should use _exit() so they don't run the main atexit() function. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-03-07Fix bad sscan() -> scanf() conversionJens Axboe
Caused fio to stall waiting for disk updates. Also add --debug=diskutil debug option, to trace what diskutil is doing. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-02-27Add --debug=parse for option parsing debugJens Axboe
Adds log.h and debug.h to split the logging and debug bits out of fio, so that the parser can use them. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>