This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
Retry I/O operations up to 10 times on EIO when writing to the drive #73
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR is a subset of #70. The referenced PR fails on Windows when our EIO retry approach is applied to the read stream, so this PR includes the changes that we know work fine in order to at least cover half of the issue while we keep debugging the read problems on Windows. |
Some faulty SDCards present sporadic EIO errors that usually go away after some retries. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
changed the title
Retry I/O operationgs up to 10 times on EIO when writing to the drive
Retry I/O operations up to 10 times on EIO when writing to the drive
Jan 4, 2017
This was referenced Jan 4, 2017
jviotti
pushed a commit
to balena-io/etcher
that referenced
this pull request
Jan 4, 2017
- balena-io-modules/etcher-image-write#73 Changelog-Entry: Fix "EIO: i/o error, write" error. Change-Type: patch Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
to balena-io/etcher
that referenced
this pull request
Jan 4, 2017
- balena-io-modules/etcher-image-write#73 Fixes: #834 Changelog-Entry: Fix "EIO: i/o error, write" error. Change-Type: patch Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 4, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
to balena-io/etcher
that referenced
this pull request
Jan 5, 2017
- balena-io-modules/etcher-image-write#73 Fixes: #834 Changelog-Entry: Fix "EIO: i/o error, write" error. Change-Type: patch Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 5, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 5, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 5, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 5, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 5, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
jviotti
pushed a commit
that referenced
this pull request
Jan 5, 2017
Some faulty SDCard, or SDCard readers might throw EIO when reading data. Retrying a couple of times makes the issue go away. See: #73 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some faulty SDCards present sporadic EIO errors that usually go away
after some retries.
Signed-off-by: Juan Cruz Viotti jviotti@openmailbox.org