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

Set arc_c_min properly in userland builds #4268

Closed
wants to merge 1 commit into from

Conversation

dweeezil
Copy link
Contributor

Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.

Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.
@dweeezil
Copy link
Contributor Author

Discovered while running some tests with b8ad7e6 which adds support for dumping arcstats in userland builds.

@dweeezil
Copy link
Contributor Author

I should add that the "tests" mentioned above were simply running the ztest program.

@behlendorf
Copy link
Contributor

Good catch, LGTM

@behlendorf
Copy link
Contributor

Merged as:

0a1f8cd Set arc_c_min properly in userland builds

goulvenriou pushed a commit to Alyseo/zfs that referenced this pull request Feb 3, 2016
Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.

Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#4268
Flefebvre pushed a commit to Flefebvre/zfs that referenced this pull request Feb 3, 2016
Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.

Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#4268
Flefebvre pushed a commit to Flefebvre/zfs that referenced this pull request Feb 3, 2016
Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.

Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#4268
Flefebvre pushed a commit to Flefebvre/zfs that referenced this pull request Feb 3, 2016
Since it's set to arc_c_max / 2, it must be set after arc_c_max is set.
Also added protection against it falling below 2 * maxblocksize in
userland builds.

Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#4268
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

Successfully merging this pull request may close these issues.

2 participants