commit | fb775faa9e46ff481e4ced11116c9bd45359cb43 | [log] [tgz] |
---|---|---|
author | Stefan Bühler <source@stbuehler.de> | Fri Apr 19 11:57:46 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 22 11:00:58 2019 -0600 |
tree | 324047efa74cb0da1583ddc4cafb79bbb6d7356e | |
parent | 0d7bae69c574c5f25802f8a71252e7d66933a3ab [diff] |
io_uring: fix poll full SQ detection io_uring_poll shouldn't signal EPOLLOUT | EPOLLWRNORM if the queue is full; the old check would always signal EPOLLOUT | EPOLLWRNORM (unless there were U32_MAX - 1 entries in the SQ queue). Signed-off-by: Stefan Bühler <source@stbuehler.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>