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
lib/ukfile: API improvements #1397
Conversation
This change adds a destructor for statically allocated files that prints a warning and exits. Signed-off-by: Andrei Tatar <andrei@unikraft.io>
This change adds functions to the ukfile API that perform I/O locking directly on file state instances, in addition to files as before. Signed-off-by: Andrei Tatar <andrei@unikraft.io>
This change adds functions to the ukfile API that perform event updates directly on file state instances, in addition to files as before. Signed-off-by: Andrei Tatar <andrei@unikraft.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Reviewed-by: Mihnea Popeanga popeanga.mihnea@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Reviewed-by: Serban Sorohan serban.sorohan@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved-by: Marco Schlumpp marco@unikraft.io
This change adds a destructor for statically allocated files that prints a warning and exits. Signed-off-by: Andrei Tatar <andrei@unikraft.io> Reviewed-by: Mihnea Popeanga <popeanga.mihnea@gmail.com> Reviewed-by: Serban Sorohan <serban.sorohan@gmail.com> Approved-by: Marco Schlumpp <marco@unikraft.io> GitHub-Closes: #1397
This change adds functions to the ukfile API that perform I/O locking directly on file state instances, in addition to files as before. Signed-off-by: Andrei Tatar <andrei@unikraft.io> Reviewed-by: Mihnea Popeanga <popeanga.mihnea@gmail.com> Reviewed-by: Serban Sorohan <serban.sorohan@gmail.com> Approved-by: Marco Schlumpp <marco@unikraft.io> GitHub-Closes: #1397
This change adds functions to the ukfile API that perform event updates directly on file state instances, in addition to files as before. Signed-off-by: Andrei Tatar <andrei@unikraft.io> Reviewed-by: Mihnea Popeanga <popeanga.mihnea@gmail.com> Reviewed-by: Serban Sorohan <serban.sorohan@gmail.com> Approved-by: Marco Schlumpp <marco@unikraft.io> GitHub-Closes: #1397
Description of changes
This changeset brings several improvements to the
ukfile
API:May benefit the following PR (if merged before this, will append patches here):
posix-tty
& move stdio/console files out of vfscore #1226Prerequisite checklist
checkpatch.uk
on your commit series before opening this PR;Base target
x86_64
or N/A]kvm
,xen
or N/A]app-python3
or N/A]Additional configuration
N/A