port to old linux kernel which do not support aio and eventfd