io/uring/Queue: make Submit() virtual, Push() not
This allows submitting io_uring calls without an `Operation` instance (fire & forget). We'll do that for close().
This commit is contained in:

committed by
Max Kellermann

parent
6496c1b806
commit
26577d1301
@@ -27,7 +27,7 @@ Queue::RequireSubmitEntry()
|
||||
if (sqe == nullptr) {
|
||||
/* the submit queue is full; submit it to the kernel
|
||||
and try again */
|
||||
Submit();
|
||||
ring.Submit();
|
||||
|
||||
sqe = GetSubmitEntry();
|
||||
if (sqe == nullptr)
|
||||
|
Reference in New Issue
Block a user