Revert "Copy epoll(2) changes to minadb."

This reverts commit db8c959049d21fe63e48c270f1fc12b32a0cf0ec.
Merge "Revert "Copy epoll(2) changes to minadb.""