summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add NTT backend called "shss"ntt_backendKota Tsuyuzaki2015-02-105-55/+431
| | | | | | | | | | | | | | This introduces a new plug-able backend called "shss" made by Nippon Telegraph and Telephone corporation (NTT). Note that this produces a just plug-in to shss erasure coding binary so that users have to install a shss binary (i.e. libshss.so) aside from liberasurecode when using shss. Please contact us if you are insterested in the NTT backend (welcome!): Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp> Co-Author: Ryuta Kon <kon.ryuta@po.ntts.co.jp>
* This is the fix propsed by Kota to fix the reconstruction errorsKevin Greenan2015-02-071-1/+1
| | | | we were seeing after the checksum enum changes.
* Fix the extended integrity checks in the liberasurecode decodeKevin Greenan2015-02-071-1/+1
| | | | | | | | | | | | | function. Previously, it was failing if the number of invalid fragments was k or greater, which is incorrect. We should only be able to decode if: (num given fragments - num invalid fragments) >= k This means fail if: (num given fragments - num invalid fragments) < k
* Revert "Merged fix-cleanup into master"Kevin Greenan2015-02-071-2/+2
| | | | | This reverts commit dc4e6f07ce586327cbb19c1f6c31f2b3edc33def, reversing changes made to 92c39d590c63fd1dced7b3934962f47428c3c03d.
* Adjust checksum enum defintions to match pyeclibTushar Gohad2015-02-011-3/+3
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Merged fix-cleanup into masterTushar Gohad2015-01-301-2/+2
|\
| * Fix free fragments memories at a backend errorfix-cleanupKota Tsuyuzaki2015-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | When failing at calling a backend encode (i.e. the backend return a minus value), invalid pointer error will occur at liberasurecode_encode_cleanup() because it will work to free the memory from data[i] behind the fragment header. This patch fixes it to use free_fragment_buffer to free whole memory includes the fragment header field. TODO: Add tests (or stub backend) to verify liberasurecode behaviors when a failure returnd from the backend.
* | doc: Update decode() param force_metadata_checksTushar Gohad2015-01-301-4/+3
| | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* | Add optional fragment metadata check for decodeTushar Gohad2015-01-304-19/+44
| | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* | Decreasing the verbosity of the tests and renaming one of the stripe verifyKevin Greenan2015-01-194-18/+20
| | | | | | | | | | tests to a 'fragment verify' test, since it is using is_valid_fragment and and validating fragment headers, not stripe-level.
* | The docs were not building/installing for me. This fixed it.Kevin Greenan2015-01-191-1/+1
| |
* | Updating gitignore to ignore more AM/AC stuffKevin Greenan2015-01-191-0/+4
| |
* | Make install failing to find install-sh when installing docsKevin Greenan2015-01-123-1/+8
| |
* | Changing stripe verification to properly work with clients.Kevin Greenan2015-01-112-4/+27
|/
* merge upstreamEric Lambert2014-11-091-2/+3
|\
| * README.md edited online with Bitbucketv0.9.10Tushar Gohad2014-10-281-1/+1
| |
| * README.md edited online with BitbucketTushar Gohad2014-10-281-1/+2
| |
* | add fragment validationEric Lambert2014-11-095-26/+316
| |
* | Make include of config_liberasurecode.h conditonal. Have been expermenting ↵Eric Lambert2014-11-081-0/+2
|/ | | | with using cmake to build the project and cmake does not generate the config_liberasurecode.h file.
* fixed mem leaks in unit testsEric Lambert2014-10-101-0/+23
|
* fixed mem leaks in rs_vand and xor backendEric Lambert2014-10-102-1/+3
|
* Fixed memory leak: freeing jerasure_rs_cauchy_descriptor was not completely ↵Eric Lambert2014-10-101-23/+47
| | | | freeing the schedule array
* provide a configure flag to disable -Werror at compile timeEric Lambert2014-10-091-2/+15
|
* formatting fixEric Lambert2014-10-061-6/+12
|
* reorder add_fragment_metadata arg list to be consistent with rest of codeEric Lambert2014-10-063-13/+13
|
* add backend_id and backend_version to fragment metadataEric Lambert2014-10-037-6/+63
|
* libec version is now stored in fragment headerEric Lambert2014-10-025-10/+41
|
* backends now support verion checksEric Lambert2014-10-026-38/+138
|
* Fixed macro definition of version elementsEric Lambert2014-10-011-3/+3
|
* Merged in malloc_check (pull request #6) Eric Lambert2014-10-011-0/+8
|\ | | | | Small fix to check the return code when malloc'ing temporary buffers.
| * Small fix to check the return code when malloc'ing temporary buffers.Mark Storer2014-10-011-0/+8
| |
* | Reenable silent builds, for verbose builds use "make V=1"Tushar Gohad2014-10-011-3/+3
|/ | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* README.md edited online with BitbucketTushar Gohad2014-09-301-3/+2
|
* Check decode error code during missing frags testsTushar Gohad2014-09-301-3/+5
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add the ability for backends to specifyTushar Gohad2014-09-307-0/+12
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add autoconf output to .gitignoreTushar Gohad2014-09-301-1/+7
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* cleanup: remove auto-generated file from repoKota Tsuyuzaki2014-09-302-1152/+1
|
* Plugging-in the ISA-L backend... Still needs more documentation and a ↵Kevin Greenan2014-09-297-6/+650
| | | | little clean-up, but the tests are passing...
* Char * backend names are no longer supported. They have been replaced with ↵Eric Lambert2014-09-295-248/+55
| | | | elements of the ec_backend_id_t enum.
* liberasurecode_backend_lookup_id now returns EC_BACKENDS_MAX, asnewapiEric Lambert2014-09-262-7/+7
| | | | | | | 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 wereEric Lambert2014-09-255-11/+15
| | | | not being placed into the fragment header).
* Add checksum testcases (but most turned off since we dont seem to beEric Lambert2014-09-251-54/+152
| | | | supporting checksums at the moment).
* A little bit of code clean up based on feedback/reviewsEric Lambert2014-09-152-9/+11
|
* Removed unused timer variables from libec_slapEric Lambert2014-09-111-12/+0
|
* Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapiEric Lambert2014-09-107-113/+217
|\
| * Integrate doxygen with autoconf infrastructureTushar Gohad2014-09-076-8/+132
| | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
| * Turn on Javadoc style brief for commentsTushar Gohad2014-09-071-1/+1
| |
| * Use printable ascii chars in README + other cleanupTushar Gohad2014-09-071-100/+79
| | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
| * Constrain Doxygen to just the frontend/backend API headersTushar Gohad2014-09-031-6/+7
| | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* | Compile in pedantic mode and fail compilation on warnings. Also cleanup all ↵Eric Lambert2014-09-1020-151/+225
|/ | | | existing warnings.