summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move encode() helpers to common preprocessing codeTushar Gohad2014-07-172-99/+130
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fix build breakage...Kevin Greenan2014-07-191-1/+1
|
* Wire-in the decoding preprocessing...Kevin Greenan2014-07-192-18/+159
| | | | This compiles, but has not been tested!
* Add preprocessing for decode and reconstruct.Kevin Greenan2014-07-193-1/+273
| | | | | I'll fill-in the details of decode and reconstruct in a separate commit.
* Make NULL conditionals consistent (NULL == x)Tushar Gohad2014-07-172-7/+7
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add preprocessing code for main encode() routineTushar Gohad2014-07-172-10/+116
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add helper prototypes to erasurecode_helpers.hTushar Gohad2014-07-171-0/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add get_aligned_data_size() to ec helpersTushar Gohad2014-07-173-3/+57
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Make 'w' part of common user args, set 'w' in backend initTushar Gohad2014-07-172-1/+11
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add liberasurecode helpers (take 1)Tushar Gohad2014-07-172-0/+212
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* jerasure_rs_vand: Add EC args validationTushar Gohad2014-07-172-8/+21
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* have liberasurecode_instance_destroy function return 0 if the end of theEric Lambert2014-07-181-0/+2
| | | | | function is reached. In the future I think we should change the signature of this function to have a void return type.
* jerasure_rs_vand: Wire into main erasurecode.cTushar Gohad2014-07-171-1/+2
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* jerasure_rs_vand: Minor cleanup (jerasure_vand -> jerasure_rs_vand)Tushar Gohad2014-07-172-19/+19
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* alg_sig.h was moved to topdir/includeTushar Gohad2014-07-171-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Adding Jerasure backendKevin Greenan2014-07-173-2/+220
|
* Add sohandle to backend init()Tushar Gohad2014-07-172-3/+7
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Remove fnmap, add backend specific descriptorsTushar Gohad2014-07-172-137/+68
| | | | | | | ... introduce ec_backend_desc to store backend_desc and sohandle references Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add vi modeline to flat_xor_hd.cTushar Gohad2014-07-161-0/+4
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Store args natively in the backend_args (not as a pointer)Tushar Gohad2014-07-162-9/+11
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fix liberasurecode main routines for new API (take 2)Tushar Gohad2014-07-162-48/+116
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Rename flat_xor_3 -> flat_xor_hdTushar Gohad2014-07-163-33/+30
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fix liberasurecode main routines for new APITushar Gohad2014-07-161-50/+61
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Remove required gf-complete dependency from liberasurecode.Kevin Greenan2014-07-162-1/+787
| | | | | | | | NOTE: We need to ensure that any erasure code backend using algebraic signatures *must use* the same exact GF as those used in this library. This usually means same 'w' and primitive polynomial. I plan to make the same change to Jerasure, so it will be compatible.
* Add decode, reconstruct, fragments_neededTushar Gohad2014-07-142-24/+127
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add liberasurecode_encode routineTushar Gohad2014-07-132-4/+37
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Macro out backend method namesTushar Gohad2014-07-132-13/+40
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Bump version to 0.9.10Tushar Gohad2014-07-131-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Frontend/backend API split, make EC handle int typeTushar Gohad2014-07-135-1356/+156
| | | | | | | .. also introduce a map for backend method stub name to backend library function names Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add wrapper for dlerror()Tushar Gohad2014-07-071-1/+10
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Move alg_sig.h to common headersTushar Gohad2014-07-071-50/+0
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor code backend implementation (WIP)Tushar Gohad2014-07-076-127/+1560
| | | | | | | Facing some nasty dlopen() issues when testing with "test/liberasurecode_test" Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor_codes: Fix includes to prefer '.' over sys pathsTushar Gohad2014-07-062-3/+3
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor_codes: Don't call exit() from shared libraryTushar Gohad2014-07-061-12/+15
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* autoconf: Simplify Makefile.am by adding SUBDIRSTushar Gohad2014-07-061-0/+9
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor_codes: Use posix_memalignTushar Gohad2014-07-062-22/+5
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add placeholder xor backend routinesTushar Gohad2014-06-302-16/+39
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* chksum: Add gf_complete dep for algsigTushar Gohad2014-06-304-101/+355
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* chksum: Add missing alg_sig, galois headersTushar Gohad2014-06-303-3/+154
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* api: Make _t types pointer typesTushar Gohad2014-06-291-10/+14
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* xor: First liberasurecode backendTushar Gohad2014-06-292-0/+68
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Start liberasurecode main API implementationTushar Gohad2014-06-291-0/+75
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Add xor scheme to builtins, algsig/crc32 code to utilsTushar Gohad2014-06-294-0/+1491
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Library directory structure skeletonTushar Gohad2014-06-291-0/+25
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Start refactorTushar Gohad2014-06-294-1491/+0
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Free missing_data and missing_parity buffers to prevent memory leakEric Lambert2014-06-261-0/+2
|
* added function to free/destroy alg_sig handlesEric Lambert2014-06-121-0/+23
|
* refactor workspace and buildEric Lambert2014-06-114-0/+1466