Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1245667

Summary: epoll: replace epoll_create() with epoll_create1()
Product: [Community] GlusterFS Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: coreAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.1.3 (or later) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:36:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasanna Kumar Kalever 2015-07-22 14:00:20 UTC
Description of problem:

epoll_create() is a deprecated, older variant of epoll_create1(). It does not accept any flags. Instead, it takes a size argument, which is unused. size used to provide a hint about the number of file descriptors to be watched; nowadays the kernel dynamically sizes the required data structures and this parameter just needs to be greater than zero. If it is not, EINVAL is returned. New applications should only use this variant if they need to target systems running before epoll_create1() was introduced in Linux kernel 2.6.27 and glibc 2.9.


Version-Release number of selected component (if applicable):
mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-07-22 14:01:36 UTC
REVIEW: http://review.gluster.org/11740 (epoll: replace epoll_create() with epoll_create1()) posted (#1) for review on master by Prasanna Kumar Kalever

Comment 2 Vijay Bellur 2016-03-18 03:08:13 UTC
REVIEW: http://review.gluster.org/11740 (epoll: replace epoll_create() with epoll_create1()) posted (#2) for review on master by Prasanna Kumar Kalever (prasanna.kalever)

Comment 3 Mike McCune 2016-03-28 23:22:56 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 4 Amar Tumballi 2018-08-29 03:36:47 UTC
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.