History

io_uring: add IORING_OP_MADVISE

This adds support for doing madvise(2) through io_uring. We assume that any operation can block, and hence punt everything async. This could be improved, but hard to make bullet proof. The async punt ensures it's safe.

Jens Axboe committed 6 years ago

Commit c1ca7571 parent db08ca22 files · +60 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/io_uring.h+1−0
@@ -88,6 +88,7 @@ enum { · 87 unmodified lines
8888 IORING_OP_READ,
8989 IORING_OP_WRITE,
9090 IORING_OP_FADVISE,
91+ IORING_OP_MADVISE,
9192
9293 /* this goes last, obviously */
9394 IORING_OP_LAST,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t