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

fix cascading engine submit; Run specified event engine in CI test #273

Merged

Conversation

beef9999
Copy link
Collaborator

No description provided.

@beef9999 beef9999 force-pushed the beef9999/fix-cascading-engine-submit branch from e79d621 to 45be325 Compare November 23, 2023 07:44
}
}

m_eventfd = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
m_eventfd = eventfd(0, EFD_CLOEXEC);
if (m_eventfd < 0) {
Copy link
Collaborator Author

@beef9999 beef9999 Nov 23, 2023

Choose a reason for hiding this comment

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

这里还是应该用blocking fd,因为io_uring处理fd都是blocking的。non-blocking读的时候可能会EAGIN,代码没处理,会多跑一遍循环。


Blocking fd should still be used here, because io_uring handles fd with blocking. EAGIN may occur during non-blocking reading, and the code will not be processed and the loop will be run one more time.

@beef9999 beef9999 changed the title Beef9999/fix cascading engine submit fix cascading engine submit; Run specified event engine in CI test Nov 23, 2023
@beef9999 beef9999 force-pushed the beef9999/fix-cascading-engine-submit branch from 45be325 to 4942458 Compare November 23, 2023 08:01
@beef9999 beef9999 force-pushed the beef9999/fix-cascading-engine-submit branch 3 times, most recently from 2a50376 to c522b7d Compare November 23, 2023 14:50
@beef9999 beef9999 force-pushed the beef9999/fix-cascading-engine-submit branch from c522b7d to fd43f42 Compare November 23, 2023 16:05
@lihuiba lihuiba merged commit a43fca9 into alibaba:release/0.7 Nov 24, 2023
7 checks passed
beef9999 added a commit that referenced this pull request Nov 24, 2023
@beef9999 beef9999 deleted the beef9999/fix-cascading-engine-submit branch December 21, 2023 16:07
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.

None yet

2 participants