diff options
author | Yaowei Bai <baiyaowei@cmss.chinamobile.com> | 2016-09-14 07:03:39 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-09-28 11:21:46 +0100 |
commit | 6b9424689a32bb76942ec39f6d5c60b72eb002e0 (patch) | |
tree | d3b4a020db45b5b41f3c00018736bcdf400c5fd3 /iothread.c | |
parent | e7e4f9f950253ce5fb03f569868a21d6d7e3f8a2 (diff) |
aio-posix: avoid unnecessary aio_epoll_enabled() calls
As epoll whether enabled or not is a global setting, we can just
check it only once rather than checking it with every node iteration.
Through this we can avoid a lot of checks when epoll is not enabled.
Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Reviewed-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Message-id: 1473851019-7005-3-git-send-email-baiyaowei@cmss.chinamobile.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions