Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add ec_check #36

Open
asomers opened this issue Apr 5, 2018 · 1 comment
Open

Feature request: add ec_check #36

asomers opened this issue Apr 5, 2018 · 1 comment

Comments

@asomers
Copy link

asomers commented Apr 5, 2018

ISA-L's raid module includes the parity check functions xor_check and pq_check for verifying parity. But there's no equivalent in the erasure code module. Could we please have a general parity check function like int ec_check(int len, int k, int rows, unsigned char *gftbls, unsigned char **data)? Or perhaps a pair of functions, one that takes precalculates a parity check matrix, and one that uses it to verify parity?

@gbtucker
Copy link
Contributor

gbtucker commented Apr 6, 2018

Thanks Alan, we'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants