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

Flexo cannot save and serve files on linux 5.10.3 and OpenZFS 2.0.0 #40

Closed
cuberoot74088 opened this issue Jan 4, 2021 · 2 comments
Closed

Comments

@cuberoot74088
Copy link

Hi,

maybe this is more of an information...

I am using flexo with (zfs) linux 5.10.3 and OpenZFS 2.0.0, coming from 5.9.14 everything was working.

From my research, I found it is due to a change in the kernel and how zfs does (or not) implement sendfile (or some sort of directIO)...
(had the sendfile issue with nginx yesterday and had to remove it to get it up and running)

here is an link to the issue openzfs/zfs#1156 and another PR working on directIO openzfs/zfs#10018

So my guess is, that flexo does some kind of "directIO" and this is failing now (with my setup).

However, I can confirm, it is still running with 5.10.3 and ext4 ...
So the problem is likely to be outside of flexo, I assume... but know you know about it ;-)

Thanks

@cuberoot74088
Copy link
Author

The issue was solved (refs openzfs/zfs#11378 and openzfs/zfs#11351) and is available in the latest release OpenZFS 2.0.1 (https://github.com/openzfs/zfs/releases/tag/zfs-2.0.1).

As of today linux 5.10.5 and zfs 2.0.1 is available and flexo (and nginx) are working as before.

@nroi
Copy link
Owner

nroi commented Jan 8, 2021

Good to hear, thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants