| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Small fix to check the return code when malloc'ing temporary buffers. | Mark Storer | 2014-10-01 | 1 | -0/+8 |
| | | |||||
| * | Add the ability for backends to specify | Tushar Gohad | 2014-09-30 | 6 | -0/+8 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Plugging-in the ISA-L backend... Still needs more documentation and a ↵ | Kevin Greenan | 2014-09-29 | 4 | -2/+596 |
| | | | | | little clean-up, but the tests are passing... | ||||
| * | Char * backend names are no longer supported. They have been replaced with ↵ | Eric Lambert | 2014-09-29 | 1 | -74/+5 |
| | | | | | elements of the ec_backend_id_t enum. | ||||
| * | liberasurecode_backend_lookup_id now returns EC_BACKENDS_MAX, asnewapi | Eric Lambert | 2014-09-26 | 1 | -3/+3 |
| | | | | | | | | opposed to -1, when it can not locate the specified backend (-1 was a non-sensical return value since the function signature called for a type of ec_backend_id_t). NOTE: with this change we now successfully build and tests pass on OS X with clang. | ||||
| * | crc32 checksum now supported (prior to this commit checksum values were | Eric Lambert | 2014-09-25 | 3 | -6/+10 |
| | | | | | not being placed into the fragment header). | ||||
| * | A little bit of code clean up based on feedback/reviews | Eric Lambert | 2014-09-15 | 1 | -8/+10 |
| | | |||||
| * | Compile in pedantic mode and fail compilation on warnings. Also cleanup all ↵ | Eric Lambert | 2014-09-10 | 10 | -103/+200 |
| | | | | | existing warnings. | ||||
| * | added argument validation logic and tests for | Eric Lambert | 2014-09-02 | 1 | -4/+8 |
| | | | | | | | | | liberasure_get_fragment_metadata and liberasurecode_verify_stripe_metadata. In the process removed the liberasure descriptor from the liberasure_get_fragment_metadata function's signature as it was not being used in the function's implementation. | ||||
| * | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-09-02 | 8 | -8/+8 |
| |\ | |||||
| | * | Add doxygen config. Update README, copyrights. | Tushar Gohad | 2014-09-01 | 8 | -8/+8 |
| | | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | | Added more tests (most of which test that the "public" functions | Eric Lambert | 2014-09-02 | 1 | -9/+95 |
| |/ | | | | | | perform some argument validity checks). Also fixed some bugs exposed by these new tests. NOTE: liberasurecode_test now *requires* that the null provider be loadable by the test (meaning is on LD_LIBRARY_PATH). | ||||
| * | Fixed bug where null_init was not correctly setting w param (was relying on ↵ | Eric Lambert | 2014-08-26 | 1 | -0/+2 |
| | | | | | un-initialized memory which resulted in non-deterministic behavior). | ||||
| * | Cleaned up the Cauchy backend. This has a bit more cleaned than the | Mark Storer | 2014-08-25 | 1 | -44/+67 |
| | | | | | | | | | | other backends because Jerasure allocs more memory under the hood that we need to check on init, and cleanup on exit. Minor cleanup wise we do fewer memory derefs by saving the value of k, m and w in a few places. This is, however, probably most effective at just improving readability a bit. | ||||
| * | Minor cleanup to null backend. Mostly to the exit cases. Free checks for | Mark W. Storer | 2014-08-23 | 2 | -44/+32 |
| | | | | | | | | | null, so as long we intialize the pointers to NULL, we can be a little terser (and cleaner?) in the exits. Cleanup in the Jerasure Vandermonde backend. Primary change here was to free the memory allocated by Jerasure in the erasures_to_erased method. | ||||
| * | Backend changes needed to honor "excluded fragments". | Kevin Greenan | 2014-08-21 | 6 | -128/+206 |
| | | |||||
| * | Make style consistent (formatting, variable defs) | Tushar Gohad | 2014-08-20 | 1 | -12/+20 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | API change for liberasurecode_fragments_needed | Kevin Greenan | 2014-08-20 | 1 | -4/+11 |
| | | | | | | | | Still needed: 1.) RS and XOR backends need to honor the 'exclude' argument. 2.) Need to add tests. | ||||
| * | - Cleaned up the documentation in erasurecode.h to ensure that it | Mark Storer | 2014-08-18 | 1 | -8/+10 |
| | | | | | | | | | | follows a common format and that it accurately reflects the code. - Cleaned up liberasurecode_instance_destroy to ensure that the return code is correct and that it is not trying to free data that has not been removed from the open instances. - Updated the tests to assert that the liberasurecode_instance_destroy method is return correctly. | ||||
| * | Merged in lock_checks (pull request #2) | Kevin Greenan | 2014-08-16 | 1 | -12/+28 |
| |\ | | | | | Updated the backend instance register/unregister methods with lock | ||||
| | * | Updated the backend instance register/unregister methods with lock | Mark Storer | 2014-08-16 | 1 | -12/+28 |
| | | | | | | | | | | | | | status checking. This shouldn't be an issue, but technically, lock requests can fail and so should check the return calls out of good practice. | ||||
| * | | Updated liberasurecode_supported_checksum_types to accept a pointer | Mark Storer | 2014-08-15 | 1 | -2/+3 |
| |/ | | | | | argument that holds the length of the list returned (i.e. the number of supported checksum types). | ||||
| * | Added cleanup API | Kevin Greenan | 2014-08-13 | 1 | -5/+72 |
| | | |||||
| * | Split metadata handling into own routine, add crc32 support | Tushar Gohad | 2014-08-07 | 4 | -76/+148 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-08-08 | 2 | -0/+2 |
| |\ | |||||
| | * | Minor bug in getting the required fragments for jerasure | Kevin Greenan | 2014-08-08 | 2 | -0/+2 |
| | | | |||||
| * | | Added ability to generate coverage data with configure --enable-gcov. | Eric Lambert | 2014-08-08 | 3 | -6/+14 |
| |/ | | | | | Currently only works on Linux (build/tests will run on OS X but coverage data is not generated). | ||||
| * | Adding reconstruction for XOR codes. | Kevin Greenan | 2014-08-05 | 1 | -1/+4 |
| | | |||||
| * | Fixed reconstruction. | Kevin Greenan | 2014-08-05 | 4 | -26/+37 |
| | | |||||
| * | Add HD parameter to generic params. | Kevin Greenan | 2014-08-05 | 1 | -1/+1 |
| | | |||||
| * | Fixed bug where when decoding with a missing data fragment, fragment header | Eric Lambert | 2014-08-01 | 1 | -1/+1 |
| | | | | | reconstruction could occurr against the wrong fragment. | ||||
| * | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-07-31 | 1 | -0/+23 |
| |\ | |||||
| | * | Stubbing the metadata functions and updating their interfaces. | Kevin Greenan | 2014-07-30 | 1 | -0/+23 |
| | | | |||||
| * | | In the erasurecode_preprocessing.c routines for decode/reconstruct, clearly | Eric Lambert | 2014-07-31 | 2 | -49/+34 |
| | | | | | | | | | | | | | distinguish between the fragment and the data/parity buffers, ie maintain data, parity pointer arrays separate from the fragment pointers. | ||||
| * | | Created helper function to iterate over a set of data/parity fragments | Eric Lambert | 2014-07-29 | 1 | -2/+18 |
| |/ | | | | | and create an array of pointers to the data segments for each fragment (this array can then be passed to backend decode functions). | ||||
| * | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-07-29 | 1 | -17/+45 |
| |\ | |||||
| | * | Add liberasurecode_supported_backends API implementation | Tushar Gohad | 2014-07-25 | 1 | -17/+45 |
| | | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | | Buffers that hold missing indexes need to be '-1 terminated' | Eric Lambert | 2014-07-29 | 2 | -2/+14 |
| |/ | |||||
| * | Parity Fragment Headers now contain original data length (without them | Eric Lambert | 2014-07-24 | 1 | -0/+1 |
| | | | | | | | the fragements_to_string function called by decode bails because of size mismatch). Also update simple encode/decode test to pass all fragments to decode. | ||||
| * | Implemented fragments needed for jerasure backends | Kevin Greenan | 2014-07-23 | 3 | -6/+43 |
| | | |||||
| * | Oops... Yet another build fix. | Kevin Greenan | 2014-07-23 | 1 | -2/+2 |
| | | |||||
| * | Plugged-in Cauchy RS. | Kevin Greenan | 2014-07-23 | 3 | -2/+306 |
| | | |||||
| * | Minor API doc fixup (backend names) | Tushar Gohad | 2014-07-22 | 1 | -0/+1 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | null_code: First cut | Tushar Gohad | 2014-07-22 | 6 | -2/+302 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Add asserts to make sure buffer passed to helpers was not null | Tushar Gohad | 2014-07-22 | 1 | -0/+9 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Fix data_size type, int -> uint64_t | Tushar Gohad | 2014-07-22 | 1 | -8/+10 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Mac OS X support in xor and jerasure backends | Tushar Gohad | 2014-07-22 | 2 | -0/+8 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | flat_xor_hd: Fix xor_desc pointer (encode/decodes tests pass now) | Tushar Gohad | 2014-07-22 | 1 | -5/+18 |
| | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | algsig: Move jerasure backend dlopen up a level | Tushar Gohad | 2014-07-22 | 1 | -15/+16 |
| | | | | | | | .. also check for errors Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Ripping out galois.[ch] and dynamically pulling the multiplication functon ↵ | Kevin Greenan | 2014-07-22 | 4 | -1153/+60 |
| | | | | | from jerasure | ||||
