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

support max_pages_limit #547

Open
hanwen opened this issue Nov 24, 2024 · 0 comments
Open

support max_pages_limit #547

hanwen opened this issue Nov 24, 2024 · 0 comments

Comments

@hanwen
Copy link
Owner

hanwen commented Nov 24, 2024

commit 78eeae60bb5a978eae4c3ce705c58189b762a24b
Author: Joanne Koong [email protected]
Date: Wed Sep 25 17:49:56 2024 -0700

Initialize session buffer size to value set by sysctl

This commit adds support for this on the libfuse side to set
the fuse session buffer to take into account the max pages
limit set in /proc/sys/fs/fuse/max_pages_limit. If this
sysctl does not exist (eg older kernels), it will default to
old behavior (using FUSE_MAX_MAX_PAGES (256) as the max pages
limit). This allows for things like bigger write buffers per
request.
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

1 participant