9e52966eb7e2ba4a0b5cb2afda1aa4b8a48be831 |
30-Apr-2014 |
Danny Al-Gaaf <danny.al-gaaf@bisect.de> |
crc/test.c: fix include of time.h Replace include of time.h with renamed fio_time.h to fix build. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> Signed-off-by: Jens Axboe <axboe@fb.com>
est.c
|
ea1f1da3959dac74093013f4bb20320f97000219 |
03-Apr-2014 |
Jens Axboe <axboe@fb.com> |
crc: add test.h header to test.c This way the static analyzers know that there's a reason for the exported function. Signed-off-by: Jens Axboe <axboe@fb.com>
est.c
|
632f415c8d67a1ade18834a0f56d95c508aaa8af |
02-Apr-2014 |
Jens Axboe <axboe@fb.com> |
Add missing crc/test.h file Commit 10aa136b forgot to add this file, unfortunately. Signed-off-by: Jens Axboe <axboe@fb.com>
est.h
|
10aa136bddbaa7c845ab4eacb4a9a4a88d6657a3 |
02-Apr-2014 |
Jens Axboe <axboe@fb.com> |
Cleanup symbols that should be static Run analysis on symbols not used outside of their current file, turn them into statics. Signed-off-by: Jens Axboe <axboe@fb.com>
rc32c.c
xhash.c
|
190b8f0c9c1c1a99ed26fd953f7af9023f9533ee |
20-Mar-2014 |
Castor Fu <castor@alumni.caltech.edu> |
Pass -Wstrict-prototypes -Wold-style-definition, whitespace Signed-off-by: Jens Axboe <axboe@fb.com>
xhash.c
xhash.h
|
65f21d61d5d0796335ceb3320b8846e4d6d30ac7 |
20-Feb-2014 |
Jens Axboe <axboe@fb.com> |
xxhash: dos2unix'ize Signed-off-by: Jens Axboe <axboe@fb.com>
xhash.c
xhash.h
|
844ea60273f4e7862150d9c6430cdb15768e2f34 |
20-Feb-2014 |
Jens Axboe <axboe@fb.com> |
Add support for the Google xxhash checksumming function It's a lot faster than the other software defined ones, so will be a useful alternative for the cases where crc32c-intel isn't available. Signed-off-by: Jens Axboe <axboe@fb.com>
est.c
xhash.c
xhash.h
|
782744ef60b7ed47a529d30b9f8e0c528c436fdb |
08-Feb-2014 |
Jens Axboe <axboe@fb.com> |
crc: add option to list possible crc types =help or =list will show them. Signed-off-by: Jens Axboe <axboe@fb.com>
est.c
|
f754086950c511d48af21aee5c49e9d7985d3d32 |
08-Feb-2014 |
Jens Axboe <axboe@fb.com> |
crc: ensure we properly match test name Signed-off-by: Jens Axboe <axboe@fb.com>
est.c
|
fec0f21cb04bfd6c94b546998f194baed41fdec5 |
07-Feb-2014 |
Jens Axboe <axboe@fb.com> |
Add support for testing checksumming speed fio --crctest will test all of them, --crctest=md5,crc32c will test md5 and crc32c, for example. Signed-off-by: Jens Axboe <axboe@fb.com>
est.c
|
267339ff794d41af0f3714483c7ab75985d8a85f |
18-Dec-2012 |
Jens Axboe <axboe@kernel.dk> |
Fixup CPUID for 32-bit x86 Signed-off-by: Jens Axboe <axboe@kernel.dk>
rc32c-intel.c
|
fa80feae51331fb170e784459fa1359d7ec3a963 |
09-Dec-2012 |
Jens Axboe <axboe@kernel.dk> |
Add check for invariant TSC on x86 and use TSC is default clock if reliable TSC is by far the fastest clock we can use. Check the CPUID bits for whether it is both constant rate AND synced across cores. If it is, we can use it as our default clock source. Fio will default to this clock source on x86 if no other clock source is specifically given with clocksource= in the job file. Signed-off-by: Jens Axboe <axboe@kernel.dk>
rc32c-intel.c
|
25dfa848abbb6c35b4d45fabd5a8e82cb77fb285 |
29-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
Rename crc functions to private namespace Apparently we overlap with some gtk (?) crc32() functions, causing ours to be called and subsequently crashing since the arguments aren't the same. Move everything to a fio_ protected namespace. Signed-off-by: Jens Axboe <axboe@kernel.dk>
rc16.c
rc16.h
rc32.c
rc32.h
rc32c.h
rc64.c
rc64.h
rc7.c
rc7.h
d5.c
d5.h
ha1.c
ha1.h
ha256.c
ha256.h
ha512.c
ha512.h
|
e3aaafc4e902a0f78b8ee4d4bc85f8edac6e09d2 |
22-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
Auto-detect whether to use hw assisted crc32c Little point in separating the two. If the hardware assisted crypto is available, always use it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
rc32c-intel.c
rc32c.c
rc32c.h
|
cc62ea704e4de10eb595b551f29af41266cf225d |
09-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
Fix a few other static code checker spotted "issues" Signed-off-by: Jens Axboe <axboe@kernel.dk>
rc32c-intel.c
|
3095ffa9747a679e4f655388c782e4b201047fd3 |
01-Oct-2011 |
Jens Axboe <axboe@kernel.dk> |
crc16: use void * as the argument Signed-off-by: Jens Axboe <axboe@kernel.dk>
rc16.c
rc16.h
|
2b13e716c0921356c0930522718e00b8df34293a |
19-Jan-2011 |
Jens Axboe <jaxboe@fusionio.com> |
Get rid of shadow declarations Reported-by: Bruce Cran <bruce@cran.org.uk> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
ha256.c
ha512.c
|
2f68124f26e54233db41b462a257dabc48e5c32b |
21-Oct-2010 |
Jens Axboe <jaxboe@fusionio.com> |
A few fixes for 32-bit compiles - Change the HAVE_SSE to HAVE_SSE4_2 and only provide it on x86-64. - Cast two values that otherwise cause the compiler to warn on 32-bit Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
rc32c-intel.c
rc32c.h
|
e0ab5f977075ec2f8ad42378c95eb800a611f0ef |
29-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
crc32c-intel: replace SIGILL approach with cpuid Some operating systems log illegal instructions, lets try and be a bit nicer and use cpuid to identify the presence of SSE4.2 which is needed to support the hw crc32c instruction. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
rc32c-intel.c
|
5d7c5d348d66794fd5e8aa3090f582358e6c5017 |
21-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Auto-detect missing hw support for crc32c and fallback to software Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
rc32c-intel.c
rc32c.h
|
7c353ceb3257b132f4c98326046b42201e070731 |
09-Aug-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Add Linus' optimized sha1 hash for checksum It does appear to be pretty fast. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ha1.c
ha1.h
|
419484b934222e589f0b718e9494b045df176167 |
12-Sep-2008 |
Aaron Carroll <aaronc@cse.unsw.edu.au> |
Don't compile crc32c-intel on non-x86 platforms crc32c_intel() doesn't make sense on platforms without SSE, so alias it to crc32c() on such machines. Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
rc32c-intel.c
rc32c.h
|
3845591fadea480177223e28c9d1c03642d34f0e |
04-Aug-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Add intel hardware assisted crc32c support Not tested, since I don't have the hardware. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
rc32c-intel.c
rc32c.h
|
bac39e0e8807a1d52863ad8304e67221df2bc63b |
11-Jun-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Add crc32c checksum Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
rc32c.c
rc32c.h
|
13ddcb169f28e87e493f49887c7b06050d008c9c |
11-Jun-2008 |
Jens Axboe <jens.axboe@oracle.com> |
crc32 is uint32_t, not unsigned long Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
rc32.c
rc32.h
|
00fb3c8dcbb940338fea9f6cab689b4924266305 |
30-May-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Move the lib/ stuff around a bit And actually remember to commit the lib/ files... Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ha256.c
ha512.c
|
5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373 |
30-May-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Make it work on opensolaris Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ha256.c
ha512.c
|
eef6eea1b935a67f1ae26b38e06a69d4410a12aa |
30-Jul-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Move checksumming files to seperate directory Too many of them now, move them out-of-sight. They will rarely be modified anyway. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
rc16.c
rc16.h
rc32.c
rc32.h
rc64.c
rc64.h
rc7.c
rc7.h
d5.c
d5.h
ha256.c
ha256.h
ha512.c
ha512.h
|