aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2023-01-31lib/pattern: fix formattingVincent Fu1-2/+2
2023-01-30lib/pattern: Fix seg fault when calculating pattern lengthVincent Fu1-1/+2
2022-11-18lib/pattern: Support binary pattern buffers on windowsLogan Gunthorpe1-0/+4
2022-11-18options: Support arbitrarily long pattern buffersLogan Gunthorpe2-10/+63
2022-11-18lib/pattern: Support short repeated read calls when loading from fileLogan Gunthorpe1-4/+11
2022-11-18lib/pattern: Support NULL output buffer in parse_and_fill_pattern()Logan Gunthorpe1-10/+25
2022-08-10lib/rand: get rid of unused MAX_SEED_BUCKETSJens Axboe1-6/+2
2022-08-10lib/rand: Enhance __fill_random_buf using the multi random seedSungup Moon1-1/+36
2022-07-01hash: cleanupsJens Axboe1-1/+1
2022-07-01lib/rand: improve __fill_random_buf()Jens Axboe1-2/+1
2022-07-01Simplify and optimize __fill_random_bufGeorg Sauthoff1-19/+8
2022-03-30Rename 'fallthrough' attribute to 'fio_fallthrough'Jens Axboe1-16/+16
2022-02-20Spelling and grammar fixesVille Skyttä1-3/+3
2021-11-19t/io_uring: use internal random generatorJens Axboe2-1/+2
2021-09-08lib/fls.h: Remove unused variable assignmentErwan Velu1-1/+0
2021-08-26arch,lib/seqlock: implement seqlock with C++ atomic if compiled with C++Kefu Chai1-0/+4
2021-07-15dedupe: allow to generate dedupe buffers from working setBar David2-8/+12
2021-01-11distibutions: Extend flexibility of non-uniform random distributionsAdam Kupczyk4-10/+19
2021-01-09Merge branch 'num2str-patch' of https://github.com/gloit042/fioJens Axboe1-0/+3
2021-01-06Change ARRAY_SIZE to FIO_ARRAY_SIZEJens Axboe2-9/+5
2020-12-21num2str: fix precision loss bug when the fractional part is close to 1gloit0421-0/+3
2020-08-28Use fallthrough attributeJens Axboe1-16/+16
2020-07-27Add roundup_pow2() as a generic helperJens Axboe1-0/+11
2020-07-02num2str(): Add the E (exa) prefixBart Van Assche1-2/+2
2020-07-02num2str(): Fix overflow handlingBart Van Assche1-3/+3
2020-07-02num2str(): Remove the fmt[] arrayBart Van Assche1-3/+3
2020-07-02num2str(): Use asprintf() instead of malloc()Bart Van Assche1-8/+7
2020-06-23Changed signedness of seqlock.sequence fixing comparison-warningSimon A. F. Lund1-1/+1
2020-06-21Optimize the seqlock implementationBart Van Assche1-6/+3
2020-06-21Make __rand_0_1() compatible with clangBart Van Assche1-4/+6
2020-05-23Do not read past the end of fmt_desc[]Bart Van Assche2-9/+3
2020-05-23Fix spelling in a source code commentBart Van Assche1-2/+2
2020-05-19Fix 32-bit/LLP64 platform truncation issuesSitsofe Wheeler2-3/+3
2020-03-17gauss.c: correct the stddev initializtionFeng Tang1-1/+1
2020-01-17lib/memcpy: Suppress a Coverity leak report for setup_tests()Bart Van Assche1-0/+3
2020-01-06lib/memalign: remove smalloc()/sfree() dependencyTomohiro Kusumi2-13/+9
2019-04-17rand: fix truncated rand_seed on WindowsMing-Hung Tsai4-19/+19
2019-02-11Document switch fall-through casesJens Axboe1-0/+16
2019-01-08configure: add __kernel_rwf_t checkJens Axboe1-0/+4
2018-11-29rand: fix compressible data ratio per segmentBari Antebi1-0/+1
2018-10-26lib: fix strntol's end pointer when str has leading spacesTomohiro Kusumi1-1/+1
2018-10-19fio: enable cross-thread overlap checking with processesVincent Fu2-6/+15
2018-09-30fix hung fio process with large I/O sizes and verify= optionJeff Moyer1-1/+1
2018-09-17Random distribution 32-bit fixesJens Axboe2-10/+10
2018-09-16axmap: isset_fn() should use 1ULL, not 1ULJens Axboe1-1/+1
2018-09-16lfsr: use unsigned long long for 64-bit valuesJens Axboe1-4/+4
2018-09-16axmap: use 64-bit index for the handlersJens Axboe1-5/+5
2018-09-16axmap: use 64-bit type for number of bitsJens Axboe2-4/+5
2018-09-07num2str(): Avoid an out-of-bounds array accessBart Van Assche1-1/+1
2018-09-07Micro-optimize num2str()Bart Van Assche1-7/+7
2018-08-23axmap: return early of an overlap results in 0 settable bitsJens Axboe1-0/+2
2018-08-22lib/axmap: Optimize __axmap_set()Bart Van Assche1-16/+3
2018-08-22lib/axmap: Simplify axmap_set_fn()Bart Van Assche1-7/+1
2018-08-22lib/axmap: Make axmap_new() more robustBart Van Assche1-4/+8
2018-08-22lib/axmap: Inline ulog64()Bart Van Assche1-9/+1
2018-08-22lib/axmap: Add more documentationBart Van Assche1-0/+47
2018-08-17Remove unused code in lib/axmap.cMichael Kelley2-28/+0
2018-08-17Reimplement axmap_next_free() to prevent distribution skewMichael Kelley1-71/+91
2018-07-12axmap: optimize ulog64 usage in axmap_handler()Jens Axboe1-1/+4
2018-07-11axmap: fix continued sequential bit settingJens Axboe1-3/+6
2018-07-11axmap: a few more cleanupsJens Axboe1-11/+4
2018-07-11axmap: remove unused 'data' argument to topdown handlerJens Axboe1-4/+3
2018-07-11axmap: code cleanupsJens Axboe1-25/+25
2018-07-11axmap: clean up 'no bits to set' caseJens Axboe1-2/+2
2018-07-10axmap: ensure that overlaps are handled strictly sequentialJens Axboe1-6/+7
2018-06-12rand: make randX_upto() do the end value incrementJens Axboe1-5/+7
2018-06-12rand: ensure that rand_between() can reach max valueJens Axboe1-2/+2
2018-06-12rand: cleanup rand_between() and helpersJens Axboe1-7/+8
2018-06-12rand: add rand64_between()Jens Axboe1-0/+18
2018-06-05Make nowarn_snprintf() call va_end()Bart Van Assche1-1/+4
2018-06-05Move nowarn_snprintf.h to lib/Jens Axboe1-0/+24
2018-04-18Simplify num2str()Bart Van Assche2-13/+16
2018-04-18Introduce enum n2s_unitBart Van Assche2-10/+14
2018-04-08axmap: use calloc() for level allocJens Axboe1-1/+1
2018-03-21Add include-what-you-use pragmasSitsofe Wheeler1-1/+1
2018-03-21Refactor #includes and headersSitsofe Wheeler19-23/+11
2018-03-12Rename struct rb_node into struct fio_rb_nodeBart Van Assche2-42/+44
2017-12-01memcpy: add hybridJens Axboe1-11/+24
2017-12-01memcpy: free buffer in case of failureJens Axboe1-1/+4
2017-12-01memcpy: use mallocJens Axboe1-3/+10
2017-12-01Add basic memcpy testJens Axboe2-0/+269
2017-10-29fio: update FSF addressSitsofe Wheeler2-2/+2
2017-10-03Merge branch 'master' of https://github.com/dyniusz/fioJens Axboe1-1/+1
2017-09-18lib/memalign: don't malloc size twiceTomohiro Kusumi1-1/+1
2017-08-30lib/axmap: a few fixes/cleanupsJens Axboe1-4/+6
2017-06-27lib/ffz: remove dead storeDaniel Verkamp1-3/+1
2017-06-21lib/seqlock: #include "types.h" for bool typeVincent Fu1-0/+1
2017-06-08Add strndup() function, if we don't have itJens Axboe1-0/+1
2017-06-08pattern: Add support for files in buffer_pattern argument.Stephen Bates1-0/+65
2017-05-24lib/output_buffer: harden buf_output_free() and kill buf_output_clear()Jens Axboe2-9/+1
2017-05-23Drop circular dependency in log.c and lib/output_buffer.cTomohiro Kusumi2-8/+2
2017-05-04Adjustments to support C++ enginesdyniusz1-1/+1
2017-04-26seqlock: add simple user space code for sequence locksJens Axboe1-0/+48
2017-04-26Make lib/mountcheck.c a stand-alone libraryTomohiro Kusumi1-1/+1
2017-04-26Make lib/zipf.c a stand-alone libraryTomohiro Kusumi1-1/+0
2017-04-26Make lib/rand.c a stand-alone libraryTomohiro Kusumi1-1/+1
2017-04-26Make lib/pattern.c a stand-alone libraryTomohiro Kusumi1-1/+8
2017-04-26Make lib/strntol.c a stand-alone libraryTomohiro Kusumi1-1/+1
2017-04-26Fix num2str() output when modulo != -1UTomohiro Kusumi1-13/+21
2017-04-08Fix num2str() output when maxlen <= strlen(tmp)Tomohiro Kusumi1-1/+1
2017-04-08Make lib/num2str.c a stand-alone library by adding lib/num2str.hTomohiro Kusumi2-2/+20
2017-04-08Make lib/memalign.c a stand-alone libraryTomohiro Kusumi1-1/+3
2017-04-08Make lib/prio_tree.c a stand-alone libraryTomohiro Kusumi1-1/+4
2017-03-17is_power_of_2() should return boolJens Axboe1-1/+2
2017-02-07bloom: if we're not setting bits, break after first failed mask checkJens Axboe1-1/+3
2017-01-23Use ARRAY_SIZE()Tomohiro Kusumi1-3/+1
2017-01-23Define pointer alignment macro in fio.hTomohiro Kusumi1-3/+1
2017-01-05Add arm64 hardware assisted crc32c supportwei xiao1-0/+1
2017-01-02Improve IEC binary and SI decimal prefix handlingRobert Elliott1-15/+42
2016-10-17Add device_is_mounted() support for NetBSDTomohiro Kusumi1-1/+22
2016-09-25bloom: don't enforce minimum entry countJens Axboe1-3/+0
2016-09-25bloom: allow to pass in whether to set bits for stringsJens Axboe2-3/+4
2016-09-23bloom: add string versionJens Axboe2-1/+7
2016-09-23bloom: hashes take byte lengths, not nwordsJens Axboe1-3/+3
2016-09-23bloom: use boolJens Axboe2-5/+6
2016-08-15Fixup correct sparse warningsJens Axboe3-1/+5
2016-05-16zipf/pareto/gauss: hash cleanupJens Axboe2-6/+10
2016-05-16zipf/pareto/gauss: add option to disable hashingJens Axboe4-3/+26
2016-03-10lib/rand: make __init_randX() staticJens Axboe1-2/+2
2016-03-10Use 32-bit rand for parts that use rand_between()Jens Axboe2-10/+9
2016-03-07rand: use boolsJens Axboe2-4/+5
2016-03-04Add support for zones of random IO, with varying frequency of accessJens Axboe1-0/+11
2015-12-28Fix included getopt locationsJens Axboe1-26/+0
2015-12-28lib/pattern: include oslib/strcasestr.hJens Axboe1-0/+1
2015-12-23arch: add ffs64 and ffz64Jens Axboe1-4/+15
2015-12-08iolog: replace tp usage with workqueueJens Axboe2-152/+0
2015-12-01Add 'bool' typeJens Axboe3-23/+41
2015-11-30Move conditional lib files to oslib/Jens Axboe17-2956/+0
2015-11-30Move memalign to lib/Jens Axboe2-0/+43
2015-11-09make sure __rand_0_1 does not return 0.0Song Liu1-2/+2
2015-11-09Fixups for poisson rateJens Axboe1-0/+13
2015-10-30output_buffer: only realloc once, and memset just what we needJens Axboe1-3/+10
2015-10-27Unbreak output buffer logging over the networkJens Axboe1-1/+1
2015-10-27Don't setup output buffers we are not going to useJens Axboe2-7/+6
2015-10-27Proper size return from output buffersJens Axboe2-6/+11
2015-10-27Enable the use of multiple output formatsJens Axboe2-0/+61
2015-10-19strlcat: fix header guard typoJens Axboe1-1/+1
2015-09-30sg: 16-byte cdb support and lots of fixesKris Davis2-0/+29
2015-09-04replace 'fill_pattern' with 'cpy_pattern' from 'lib/pattern.c'Roman Pen2-29/+3
2015-09-04lib/pattern: add set of functions to parse combined pattern inputRoman Pen2-0/+511
2015-09-04lib/strntol: add 'strntol' functionRoman Pen2-0/+37
2015-06-05Fix compile error on non Linux-or-BSDsTomohiro Kusumi1-0/+8
2015-06-04Add device_is_mounted() support for BSDsTomohiro Kusumi1-1/+16
2015-06-01Fix build error on non-GNU environmentTomohiro Kusumi1-1/+1
2015-05-29rand: add 64-bit tausworthe variant with a 2^258 cycleJens Axboe4-19/+121
2015-05-29Add Intel rdrand supportJens Axboe2-0/+4
2015-05-21Add 'allow_mounted_write' optionJens Axboe1-0/+6
2015-05-21Add start of mount checkJens Axboe1-0/+39
2015-05-06Add support for options being a power-of-2Jens Axboe1-0/+11
2015-05-05libmtd: ->name and ->type_str can't be constantJens Axboe1-2/+2
2015-04-16Fix mtd valgrind warningDan Ehrenberg1-1/+1
2015-04-14mtd: Import libmtd with modifications to make it compileDan Ehrenberg6-0/+2600
2015-04-08Unify gauss and zipf/pareto input valuesJens Axboe2-4/+5
2015-04-08Make normal distribution takes deviations as a percentageJens Axboe1-3/+5
2015-04-08Add support for normal/gaussian random distributionsJens Axboe2-0/+70
2015-02-19Fixup whitespace damage in the two previous commitsJens Axboe1-1/+1
2015-02-19axmap: Avoid memory leak if axmap_new() failedErwan Velu1-0/+1
2015-01-13axmap: random maps are private, don't get them from smallocJens Axboe1-9/+8
2015-01-03bloom: kill unused functionJens Axboe2-6/+0
2015-01-03axmap: make axmap_first_free() staticMing Lei2-2/+1
2015-01-03Revert "axmap: ensure we lock down the maps for shared access"Jens Axboe1-44/+10
2015-01-03Revert "axmap: fix deadlock"Jens Axboe2-1/+4
2015-01-03axmap: fix deadlockMing Lei2-4/+1
2014-12-19axmap: ensure we lock down the maps for shared accessJens Axboe1-10/+44
2014-12-05lib/rand: cleanup __fill_random_buffer()Jens Axboe1-8/+8
2014-12-05lib/rand: fix bug with non uint64_t aligned random buffer fillJens Axboe1-4/+23
2014-12-04Use specified compression/pattern for verify buffers tooJens Axboe2-10/+21
2014-12-03Use specified buffer_pattern (if given) for all io_u fillsJens Axboe2-4/+39
2014-11-23lfsr: don't pass in last value to lfsr_next()Jens Axboe2-2/+2
2014-11-11Add support for verify triggers and verify state savingJens Axboe1-7/+7
2014-11-06Make fio -Wshadow cleanJens Axboe1-9/+9
2014-09-27bloom: up hashes to 5 by defaultJens Axboe1-4/+28
2014-09-27Move murmur3 hash to crc/Jens Axboe3-77/+1
2014-09-27Add murmurhash3Jens Axboe3-10/+79
2014-09-26bloom: use independent hashesJens Axboe1-6/+36
2014-09-26bloom: always use a larger minimum size for bloom filterJens Axboe1-0/+4
2014-09-26Add bloom filterJens Axboe2-0/+86
2014-09-23Fix 32-bit compile warningsJens Axboe1-1/+1
2014-09-23Fix min/max typeof warningsJens Axboe2-2/+2
2014-09-22Basic support for dedupeJens Axboe1-0/+8
2014-09-16Add basic tool to turn blktrace into fio job fileJens Axboe2-0/+73
2014-07-09iolog: run compression work at slightly elevated nice levelJens Axboe2-0/+12
2014-07-08tp: move pthread_cond_signal() outside of lockJens Axboe1-3/+5
2014-07-08Add some new code comments on the log compress/decompressJens Axboe1-0/+7
2014-07-03flist: add flist_first_entry()Jens Axboe1-4/+2
2014-07-03Move tp.[ch] to lib/Jens Axboe2-0/+133
2014-04-14num2str: ensure we never access postfix[] out-of-boundsJens Axboe1-0/+5
2014-04-01Cleanup symbols that should be staticJens Axboe3-2/+4
2014-02-26Branch and cache miss speedupsJens Axboe1-5/+4
2013-09-27Fix misspellings using 'codespell' toolAnatol Pomozov1-1/+1
2013-08-27LFSR: Do not ignore returning the seedAlex Pyrgiotis1-12/+17
2013-04-09Merge branch 'master' into gfioJens Axboe3-6/+57
2013-04-09num2str: add arguments to represent values in terms of bytes/bitsSteven Noonan1-6/+19
2013-04-05Add strcasestr()Jens Axboe2-0/+38
2013-04-05Merge branch 'master' into gfioJens Axboe1-9/+23
2013-03-29axmap: get rid of old debug ->fail_ok checkingJens Axboe1-9/+2
2013-03-29axmap: fix bug with max_bs/min_bs ratio being > 64Jens Axboe1-4/+25
2013-03-21Merge branch 'master' into gfioJens Axboe3-239/+218
2013-03-19lib/getopt_long: clear 'optarg' every timeJens Axboe1-0/+2
2013-03-12lfsr: fix verification and spin bugsAlex Pyrgiotis2-12/+24