-
Notifications
You must be signed in to change notification settings - Fork 85
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
Input/output error #50
Comments
Did you run |
Yes, following is my detail actions
the error message comes up, but if I replace |
Merged
jserv
pushed a commit
that referenced
this issue
May 18, 2024
If we use 'dd if=/dev/random of=test.img bs=1M count=32' rather than 'if=/dev/zero' and mount it, it will cause an EIO error and get stuck in a loop. This commit addresses an issue where the 'ls' command would read random, meaningless values from 'simplefs_file_ei_block' for uninitialized blocks. This occurred because the blocks contained residual data, leading to erroneous outputs. Changes: 1. Clear the root extent block during the 'mkfs' process to prevent erroneous 'simplefs_file_ei_block' data. 2. Ensure that file data blocks are cleared immediately upon allocation to prevent erroneous 'simplefs_file' data. Close #20 and #50
Close via #51 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I fill the image with
/dev/random
, thetouch
ormkdir
command will error.Reproduce:
The error message comes up, but if I replace
/dev/random
with `/dev/zero, it will work correctly.The error message:
The text was updated successfully, but these errors were encountered: