fdev: Improve fdev handling with epoll