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

fs and unistd: increase OPEN_MAX by claiming a Kconfig. #5924

Merged
merged 1 commit into from Apr 1, 2022

Conversation

XinStellaris
Copy link
Contributor

Signed-off-by: 田昕 tianxin7@xiaomi.com

Summary

OPEN_MAX is too smal, we should increase it.
We can refer to linux(man sysconf, you will see), it is defined as no less than _POSIX_OPEN_MAX.

Impact

sysconf() and files_extend()

Testing

Vela tested.

fs/inode/fs_files.c Show resolved Hide resolved
include/limits.h Outdated Show resolved Hide resolved
@pkarashchenko pkarashchenko self-requested a review April 1, 2022 05:37
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
@pkarashchenko pkarashchenko merged commit 463a437 into apache:master Apr 1, 2022
@XinStellaris XinStellaris deleted the increase_OPEN_MAX branch April 1, 2022 09:18
@jerpelea jerpelea added this to To-Add in Release Notes - 11.0.0 Aug 30, 2022
@jerpelea jerpelea moved this from To-Add to Added in Release Notes - 11.0.0 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants