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

Only the first 'df' call works properly if cache_statfs_timeout enabled #127

Open
romanrm opened this issue May 30, 2016 · 3 comments
Open

Comments

@romanrm
Copy link

romanrm commented May 30, 2016

Hello,

If I set cache_statfs_timeout=86400, I get the following behavior (right after mounting):

$ df /mnt/hubic/
Filesystem 1K-blocks Used Available Use% Mounted on
hubicfuse 10737418240 6310055300 4427362940 59% /mnt/hubic

$ df /mnt/hubic/
Filesystem 1K-blocks Used Available Use% Mounted on
hubicfuse 0 0 0 - /mnt/hubic

$ df /mnt/hubic/
Filesystem 1K-blocks Used Available Use% Mounted on
hubicfuse 0 0 0 - /mnt/hubic

(etc)

If I comment out the cache_statfs_timeout setting, then each df call works properly (and as expected takes about 0.5-1 second to execute).

@romanrm
Copy link
Author

romanrm commented May 30, 2016

Also with the cache_statfs_timeout enabled the browsing of Hubic directories feels so much more responsive in the file manager (even though the 'df' information is missing), so it'd be really nice to get this working.

Another note, my mount options: allow_other,entry_timeout=86400,attr_timeout=86400,sync_read,no_splice_write,no_splice_move,no_splice_read,no_remote_lock,no_remote_posix_lock

@TurboGit
Copy link
Owner

TurboGit commented Jun 13, 2016

I cannot reproduce on my side (using the same mount options). Which version of hubicfuse are you using?

@romanrm
Copy link
Author

romanrm commented Jul 30, 2016

Well of course before reporting the bug I ensured I use a version compiled the then-current May 30 git source code. And the issue persists with a version that I just compiled from git right now.

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