Skip to content

Check if epoll_pwait2 is implemented#12345

Merged
normanmaurer merged 3 commits into4.1from
epoll_pwait2
Apr 29, 2022
Merged

Check if epoll_pwait2 is implemented#12345
normanmaurer merged 3 commits into4.1from
epoll_pwait2

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS.

Modifications:

Check if we can actually use epoll_pwait2(...) and it not fails due not implemented.

Result:

Fixes #12343

Motivation:

Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS.

Modifications:

Check if we can actually use epoll_pwait2(...) and it not fails due not implemented.

Result:

Fixes #12343
@normanmaurer normanmaurer added this to the 4.1.77.Final milestone Apr 27, 2022
Comment thread transport-native-epoll/src/main/c/netty_epoll_native.c Outdated
Comment thread transport-native-epoll/src/main/c/netty_epoll_native.c Outdated
@normanmaurer normanmaurer requested a review from chrisvest April 28, 2022 17:52
@normanmaurer normanmaurer merged commit 626f94f into 4.1 Apr 29, 2022
@normanmaurer normanmaurer deleted the epoll_pwait2 branch April 29, 2022 04:18
raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
Motivation:

Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS.

Modifications:

Check if we can actually use epoll_pwait2(...) and it not fails due not implemented.

Result:

Fixes netty#12343
franz1981 pushed a commit to franz1981/netty that referenced this pull request Aug 22, 2022
Motivation:

Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS.

Modifications:

Check if we can actually use epoll_pwait2(...) and it not fails due not implemented.

Result:

Fixes netty#12343
@derklaro
Copy link
Copy Markdown
Contributor

derklaro commented Sep 2, 2022

Hi @normanmaurer - I just had the same issue than described in the initial issue which got fixed by this PR, but running netty5 rather than 4. After taking a quick look, it seems like the fix you wrote was never backported (or forwardported?) to v5, and I was wondering if you could do that by any chance?

(Running netty 5.0.0.Alpha5-SNAPSHOT, Java 17 & Ubuntu 22.04 LTS)

@normanmaurer
Copy link
Copy Markdown
Member Author

@derklaro doh! Fixed by 3819cd7

normanmaurer added a commit that referenced this pull request Sep 2, 2022
Motivation:

Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS.

Modifications:

Check if we can actually use epoll_pwait2(...) and it not fails due not implemented.

Result:

Fixes #12343
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.

"epoll_wait(..) failed: Function not implemented" on Ubuntu 22.04

3 participants