Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Conversation

@Froogy444
Copy link

Hi,
I was very interested by this project but it wasn't working out of the box for me.

Firstly, here my system specs :

  • Debian 9 latest version with ext4 filesystem
  • Latest uwsgi server from pip in standalone mode
  • Freshly compiled spockfs client and server plugin.

The issue is crashes during testing script and I wasn't able to read any file. (everything else seems ok).
After few debugging, I noticed that FUSE on my system always requests at least one block size of data (in my case, 4096 bytes).
If the file (or a file part, like the last one E.g.) was smaller than 4096, the server side doesn't understand and causes errors.

I fixed this by relying always on server filesystem metadata instead of what is requested by the client. In the PR, tests are ok and file reading is now working for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants