Commit 151a795b authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

New 20191216 liburing

Summary: New 20191216 liburing

Reviewed By: danobi

Differential Revision: D19125513

fbshipit-source-id: 38d2800ee75865cb76cb06edc0328feaa44bab3e
parent 791f7028
...@@ -265,12 +265,7 @@ Range<AsyncBase::Op**> IoUring::doWait( ...@@ -265,12 +265,7 @@ Range<AsyncBase::Op**> IoUring::doWait(
result.push_back(op); result.push_back(op);
} else { } else {
if (count < minRequests) { if (count < minRequests) {
io_uring_enter( io_uring_wait_cqe(&ioRing_, &cqe);
ioRing_.ring_fd,
0,
minRequests - count,
IORING_ENTER_GETEVENTS,
nullptr);
} else { } else {
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment