-
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
Extra zeros at the end of files with FUSE #1111
Comments
I think we were not testing FUSE except for initialization. When I set the log level for virtiofsd to trace and ran the rusty_demo test, I got no trace output and no file was created in the shared directory. However, when I changed the path provided in the test from "/tmp/foo.txt" to "/root/foo.txt" in rusty_demo ("/root" is the mount point logged during the initialization), I got log output for file creation, a file in the shared directory and a crash during the file read. Also, it seems like the test is broken for the release build and the driver cannot be initialized. This is not the case with the debug build. We probably did not notice that because FUSE was bypassed. |
This program
writes extra zeros to the end of the file:
expected:
Bisecting fails since not all of #1047 's commits compile!
This can be replicated by editing
hello_world
in hermit-rs and runningcargo xtask ci qemu --arch x86_64 --profile dev --package hello_world --virtiofsd
CC: @cagatay-y
The text was updated successfully, but these errors were encountered: