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

An virtfs(9p) backend error occurs when running python when SMP=1. #132

Closed
ken4647 opened this issue Jul 5, 2024 · 2 comments
Closed

An virtfs(9p) backend error occurs when running python when SMP=1. #132

ken4647 opened this issue Jul 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ken4647
Copy link
Contributor

ken4647 commented Jul 5, 2024

when running cmd make A=apps/c/python3 ARCH=aarch64 V9P=y NET=y MUSL=y LOG=off run :

qemu-system-aarch64: Failed to decode VirtFS request type 50

and type 50 means fsync.

The backend error is like this:
8854aa9d7e2be0db8bc2af91ef0bc86

@ken4647 ken4647 changed the title An virtfs error occurs when running python when SMP=1. An virtfs(9p) error occurs when running python when SMP=1. Jul 5, 2024
@ken4647 ken4647 changed the title An virtfs(9p) error occurs when running python when SMP=1. An virtfs(9p) backend error occurs when running python when SMP=1. Jul 5, 2024
@ken4647
Copy link
Contributor Author

ken4647 commented Jul 5, 2024

in 9P2000.L , the format of tfsync is like below:

fsync - flush any cached data to disk

size[4] Tfsync tag[2] fid[4]
size[4] Rfsync tag[2]

fsync tells the server to flush any cached data associated with fid, previously opened with lopen.

However, in 9p client on linux, it is implemented like this:

size[4] Tfsync tag[2] fid[4] datasync[4]

This may be due to some problems or requirements that have caused the operation specifications of 9p's fsync to change, so our interface also needs to be patched accordingly.

@ken4647 ken4647 added the bug Something isn't working label Jul 5, 2024
@ken4647
Copy link
Contributor Author

ken4647 commented Jul 5, 2024

fixed in #133 .

@ken4647 ken4647 closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant