summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'wip-signed-integer-overflow-cppcheck-v2' into 'v2'v2Loic Dachary2017-04-101-1/+1
|\ | | | | | | | | | | Resolve cppcheck Signed integer overflow error See merge request !9
| * Resolve cppcheck Signed integer overflow errorBrad Hubbard2017-04-101-1/+1
|/ | | | | | | | | | | The type of expression '1<<31' is signed int and this causes cppcheck to issue the following warning. src/gf_w32.c:681]: (error) Signed integer overflow for expression '1<<31'. Signed-off-by: Brad Hubbard <bhubbard@redhat.com> (cherry picked from commit 31cd20f7f318c13604bbd5add532003358e469eb)
* Merge branch 'wip-memory-leak' into 'v2'Loic Dachary2017-04-101-1/+2
|\ | | | | | | | | | | jerasure.c: fix memory leak in error case See merge request !8
| * jerasure.c: fix memory leak in error caseDanny Al-Gaaf2017-04-101-1/+2
|/ | | | | | | | | | | Check matrix for NULL before call talloc(). CID 1093213 (#1 of 1): Resource leak (RESOURCE_LEAK) 4. leaked_storage: Variable "bitmatrix" going out of scope leaks the storage it points to. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> (cherry picked from commit 6d8fbc8b818c9f23a538f1586ee055b1dd7a7f2f)
* Merge branch 'wip-exit-v2' into 'v2'v2.0KMG2014-12-293-25/+28
|\ | | | | | | | | | | exit v2 See merge request !1
| * use assert(0) instead of exit(1)Loic Dachary2014-12-253-25/+28
|/ | | | | | | | | | | When a fatal error (unaligned memory etc.) is detected, jerasure should assert(3) instead of exit(3) to give a chance to the calling program to catch the exception and display a stack trace. Although it is possible for gdb to display the stack trace and break on exit, libraries are not usually expected to terminate the calling program in this way. Signed-off-by: Loic Dachary <loic@dachary.org> (cherry picked from commit 36008101d5fd1e3d19230828c0eb231869569893)
* Merged in dachary/jerasure/wip-galois-init-v2 (pull request #23) Kevin Greenan2014-06-122-19/+30
|\ | | | | add galois_init_default_field error code
| * add galois_init_default_field error codeLoic Dachary2014-06-092-19/+30
|/ | | | | | | | | | | | | galois_init_default_field returns an errno(3) code in case of error instead of exiting. This is handy when the caller needs to perform cleanup or error reporting when an error occurs instead of exit(2). The exit(2) based error handling is preserved in the static galois_init() function which is used in galois.c instead and is based on galois_init_default_field to avoid code duplication. Signed-off-by: Loic Dachary <loic@dachary.org> (cherry picked from commit 1b30a37c9f75df371cf4deaedfde6b843933b4f0)
* Merged in dachary/jerasure/wip-compilation-warning-v2 (pull request #19) Kevin Greenan2014-04-101-1/+1
|\ | | | | silence warning about bestrow used uninitialized
| * silence warning about bestrow used uninitializedLoic Dachary2014-04-101-1/+1
|/ | | | | Signed-off-by: Loic Dachary <loic@dachary.org> (cherry picked from commit cdc99aadc986c165e66574c633e7202eb830b8f9)
* Merged in dachary/jerasure/wip-init-v2 (pull request #18) Kevin Greenan2014-04-092-1/+2
|\ | | | | make galois_init_default_field(int w) extern
| * make galois_init_default_field(int w) externLoic Dachary2014-04-092-1/+2
|/ | | | | | | | | | | So that the application can initialize gfp_array and gfp_is_composite instead of relying on initialization happening implicitly when the multiply or xor functions are called. The init function can be called once when the application guarantees thread safety. And the multiply and xor functions can be called from multiple threads without risking races. Signed-off-by: Loic Dachary <loic@dachary.org> (cherry picked from commit 5c9577172c9ba29890c821692dd4a9f9790b20d8)
* Merged in dachary/jerasure/wip-gitignore-v2 (pull request #13) Kevin Greenan2014-03-312-1/+34
|\ | | | | backport of .gitignore files from master
| * backport of .gitignore files from masterLoic Dachary2014-03-292-1/+34
|/ | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* Merged in dachary/jerasure/wip-gitignore (pull request #10) Kevin Greenan2014-03-281-0/+1
|\ | | | | create a .gitignore
| * create a .gitignoreLoic Dachary2014-03-271-0/+1
|/ | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* Merged in dachary/jerasure/v2 (pull request #3) Kevin Greenan2014-03-063-14/+9
|\ | | | | backport compilation warnings to v2
| * add missing return value to functions that require itLoic Dachary2014-03-061-0/+2
| | | | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org> (cherry picked from commit d4730bfd7d7c65850221083dcaf837a3a5672fe8)
| * remove unused variablesLoic Dachary2014-03-062-14/+7
|/ | | | | Signed-off-by: Loic Dachary <loic@dachary.org> (cherry picked from commit 87f301084ddccf58c5206d949209b49adecccf55)
* Created new branch v2Kevin Greenan2014-03-050-0/+0
|
* Fixed some compiler warnings.Jim Plank2014-02-072-9/+24
|
* Added compilation instructions for when you don't have GF-CompleteJim Plank2014-02-073-18/+78
| | | | installed as root.
* Added the user manual PDF to Manual.pdfJim Plank2014-01-291-0/+0
|
* More formatting.Jim Plank2014-01-293-0/+9
|
* Formatting.Jim Plank2014-01-293-423/+6
|
* Added the user's manual.Jim Plank2014-01-295-6/+9
|
* Merged in kmgreen2/jerasure-kmg (pull request #1) James Plank2014-01-2577-2932/+45175
|\ | | | | Time to update to jerasure 2.0
| * Revision 2.0 is ready for prime time!Jim Plank2014-01-2530-192/+253
| |
| * Needed .txtJim Plank2014-01-241-19/+21
| |
| * Making sure ht enew readme is there.Jim Plank2014-01-241-0/+1
| |
| * Ran through all of the examples to make them current. I'll have toJim Plank2014-01-2428-1153/+1086
| | | | | | | | | | do another sanity-checking pass, and fix multby_2 in the reed_sol code, but then we're done.
| * Make autoconf put BSD license in COPYING.Kevin Greenan2014-01-072-666/+29
| |
| * Minor typos and stuff. More later.Jim Plank2014-01-014-15/+18
| |
| * Added code to not use gf-complete mult_by_one if region size is small (less ↵Kevin Greenan2013-12-271-1/+10
| | | | | | | | than 16 bytes).
| * Do SIMD XOR, where possible!Kevin Greenan2013-12-204-31/+10
| |
| * Fix README(s)Kevin Greenan2013-12-043-3/+3
| |
| * Setup autoconf to work with JerasureKevin Greenan2013-12-0447-20/+41925
| |
| * Added performance numbers and more text to the READMEKevin Greenan2013-11-243-0/+325
| |
| * Added tests for the GF init helper functions in galois.cKevin Greenan2013-11-248-65/+729
| | | | | | | | Updated the README to explain the GF change procedure.
| * Error handling fixed in test scripts...Kevin Greenan2013-11-232-16/+10
| |
| * Added new license header for version 2.0Kevin Greenan2013-11-2337-1481/+1348
| | | | | | | | Updated the README (Going to add detail on how to us GF-complete soon)
| * Re-org and re-named some stuff...Kevin Greenan2013-11-236-126/+60
| |
| * Clean-up and use of aligned buffers in Test/Kevin Greenan2013-11-1839-42/+66
| | | | | | | | All of the new tests appear to pass.
| * Make sure tests always grab aligned buffers (use valloc instead of malloc).Kevin Greenan2013-11-183-3/+3
| |
| * Move 'install' to $(INCDIR) instead of $(INCDIR)/jerasureKevin Greenan2013-10-191-2/+2
| |
| * jerasure: Add -fPIC to CFLAGSTushar Gohad2013-10-151-1/+1
| | | | | | | | Signed-off-by: Tushar Gohad <tsg@swiftdev.(none)>
| * Added some performance tests, set the default GF for w=16 to SPLIT 16,4Kevin Greenan2013-10-166-3/+282
| | | | | | | | and created function for autoconf to call during configure (spot check).
| * Incorporated more of GF-Complete and added some tests...Kevin Greenan2013-10-156-71/+585
| |
| * makefile works on Darwin and LinuxKevin Greenan2013-10-111-2/+11
| |
| * First (crude) pass at hooking GF-Complete into Jerasure. Just enough to do ↵Kevin Greenan2013-10-073-704/+81
|/ | | | | | some testing before doing the actual wiring.