[Bugs] [Bug 1245667] New: epoll: replace epoll_create() with epoll_create1()

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 22 14:00:20 UTC 2015


            Bug ID: 1245667
           Summary: epoll: replace epoll_create() with epoll_create1()
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: prasanna.kalever at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com

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

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list