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

Fix the expectation of an extraneous checksum during restore/check in th... #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pfrouleau
Copy link
Contributor

Fix the expectation of an extraneous checksum during restore/check in the last read

When the last blocks are written and are less than cs_per_checksum, a last
checksum is written for them. During restore/check, we compute how many
bytes must be read (blocks+checksum).

However, there is an error in the condition that add one more checksum to
be read during the last read. That condition must takes into account the
number of blocks already copied.

… the last read

When the last blocks are written and are less than cs_per_checksum, a last
checksum is written for them. During restore/check, we compute how many
bytes must be read (blocks+checksum).

However, there is an error in the condition that add one more checksum to
be read during the last read. That condition must takes into account the
number of blocks already copied.

Signed-off-by: Patrick Rouleau <[email protected]>
@Thomas-Tsai
Copy link
Owner

Sorry, this pull request is too old. Please update it again if necessary, or I will turn off this request in the future. Please forgive me.

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

Successfully merging this pull request may close these issues.

2 participants