<s>
io_uring	O
(	O
previously	O
known	O
as	O
aioring	B-Application
)	O
is	O
a	O
Linux	B-Operating_System
kernel	I-Operating_System
system	B-Operating_System
call	I-Operating_System
interface	O
for	O
storage	O
device	O
asynchronous	B-Architecture
I/O	I-Architecture
operations	O
addressing	O
performance	O
issues	O
with	O
similar	O
interfaces	O
provided	O
by	O
functions	O
like	O
/	O
or	O
/	O
etc	O
.	O
</s>
<s>
for	O
operations	O
on	O
data	O
accessed	O
by	O
file	B-Application
descriptors	I-Application
.	O
</s>
<s>
It	O
works	O
by	O
creating	O
two	O
circular	B-Data_Structure
buffers	I-Data_Structure
,	O
called	O
"	O
queue	O
rings	O
"	O
,	O
for	O
storage	O
of	O
submission	O
and	O
completion	O
of	O
I/O	O
requests	O
,	O
respectively	O
.	O
</s>
<s>
Keeping	O
these	O
buffers	O
shared	O
between	O
the	O
kernel	B-Operating_System
and	O
application	O
helps	O
to	O
boost	O
the	O
I/O	O
performance	O
by	O
eliminating	O
the	O
need	O
to	O
issue	O
extra	O
and	O
expensive	O
system	B-Operating_System
calls	I-Operating_System
to	O
copy	O
these	O
buffers	O
between	O
the	O
two	O
.	O
</s>
<s>
According	O
to	O
the	O
io_uring	O
design	O
paper	O
,	O
the	O
SQ	O
buffer	O
is	O
writable	O
only	O
by	O
consumer	O
applications	O
,	O
and	O
the	O
CQ	O
buffer	O
is	O
writable	O
only	O
by	O
the	O
kernel	B-Operating_System
.	O
</s>
<s>
eBPF	B-Protocol
can	O
be	O
combined	O
with	O
io_uring	O
.	O
</s>
<s>
The	O
kernel	B-Operating_System
interface	O
was	O
adopted	O
in	O
Linux	B-Operating_System
kernel	I-Operating_System
version	O
5.1	O
.	O
</s>
<s>
The	O
library	O
provides	O
an	O
API	B-General_Concept
to	O
interact	O
with	O
the	O
kernel	B-Operating_System
interface	O
easily	O
from	O
userspace	B-Operating_System
.	O
</s>
<s>
The	O
Linux	B-Operating_System
kernel	I-Operating_System
has	O
supported	O
asynchronous	B-Architecture
I/O	I-Architecture
since	O
version	O
2.5	O
,	O
but	O
it	O
was	O
seen	O
as	O
difficult	O
to	O
use	O
and	O
inefficient	O
.	O
</s>
<s>
This	O
older	O
API	B-General_Concept
only	O
supported	O
certain	O
niche	O
use	B-Architecture
cases	I-Architecture
.	O
</s>
