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 QNX OS platform #1788

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Support QNX OS platform #1788

merged 1 commit into from
Jul 12, 2024

Conversation

huangweiliang
Copy link
Contributor

Add support QNX OS platform

To mainline those changes for better maintenance.

Compile command: QNX SDP7.1 example
./configure --cc=aarch64-unknown-nto-qnx7.1.0-gcc --disable-shm; make

Basic file read and write test with ioengine=sync is verified.

Signed-off-by: Huang weiliang [email protected]

os/os-qnx.h Outdated Show resolved Hide resolved
os/os-qnx.h Outdated Show resolved Hide resolved
os/os.h Show resolved Hide resolved
@axboe
Copy link
Owner

axboe commented Jul 12, 2024

Minor comments posted, but this looks much better than the earlier mess :-)

@huangweiliang
Copy link
Contributor Author

Thanks for your review. i updated the changes

os/os-qnx.h Outdated Show resolved Hide resolved
os/os-qnx.h Outdated Show resolved Hide resolved
os/os-qnx.h Outdated Show resolved Hide resolved
@@ -2,6 +2,9 @@
#define FIO_INET_ATON_LIB_H

#include <arpa/inet.h>
#if defined(__QNX__)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the QNX check needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right, No, it is not need.

@axboe
Copy link
Owner

axboe commented Jul 12, 2024

Thanks, added a few more comments on items I missed the first time around.

Compile command: QNX SDP7.1 example
./configure --cc=aarch64-unknown-nto-qnx7.1.0-gcc --disable-shm
make

Function is verified by UFS device read and write test.

Signed-off-by: Huang weiliang <[email protected]>
@huangweiliang
Copy link
Contributor Author

Thanks for your patience :)

@axboe axboe merged commit d64a2d8 into axboe:master Jul 12, 2024
10 checks passed
@axboe
Copy link
Owner

axboe commented Jul 12, 2024

Merged, and added a fix for a bug on top.

@huangweiliang
Copy link
Contributor Author

Thanks for merging.
I can offer the release binary for QNX OS if you like. Just let me know :)

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