You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ od -t x1 foo/test.txt 0000000 69 6d 70 6f 72 74 61 6e 74 20 63 6f 6e 74 65 6e0000020 74 00 00 00 00 00 00 000000030
expected:
$ od -t x1 foo/test.txt 0000000 69 6d 70 6f 72 74 61 6e 74 20 63 6f 6e 74 65 6e0000020 740000021
Bisecting fails since not all of #1047 's commits compile!
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
a2212c010250c69ce581a9459683ae14a7b963ef
fbb5789508286aa5a019f8b9e5371c3ecbf108d2
24c425b5e825ca5e2c91bdd863df9b5cdf33717f
3a93d4a843fa9e9af340ff4432f461265d90f508
f13bf48f06817a2a44f5dc903f4cd8ac8163fe2a
We cannot bisect more!
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.
Activity
[-]Corrupt file contents with FUSE[/-][+]Extra zeros at the end of files with FUSE[/+]cagatay-y commentedon Mar 26, 2024
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.
fuse: fix length calculation for header
fuse: fix length calculation for header