History

io_uring: add support for ftruncate

Adds support for doing truncate through io_uring, eliminating the need for applications to roll their own thread pool or offload mechanism to be able to do non-blocking truncates.

Tony Solomonik committed 2 years ago

Commit b4bb1901 parent 5f0d5945 files · +64 −1Browse files

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

Unified · Split

include/uapi/linux/io_uring.h+1−0
@@ -255,6 +255,7 @@ enum io_uring_op { · 254 unmodified lines
255 IORING_OP_FUTEX_WAKE,255 IORING_OP_FUTEX_WAKE,
256 IORING_OP_FUTEX_WAITV,256 IORING_OP_FUTEX_WAITV,
257 IORING_OP_FIXED_FD_INSTALL,257 IORING_OP_FIXED_FD_INSTALL,
258 IORING_OP_FTRUNCATE,
258 259
259 /* this goes last, obviously */260 /* this goes last, obviously */
260 IORING_OP_LAST,261 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