projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
io_uring: let to set a range for file slot allocation
[linux-block.git]
/
include
/
linux
/
io_uring_types.h
diff --git
a/include/linux/io_uring_types.h
b/include/linux/io_uring_types.h
index 3ca8f363f5046c01c622be72f9e79aa9bb52ba37..26ef11e978d403a4ee793c2299fbb319a0e7b029 100644
(file)
--- a/
include/linux/io_uring_types.h
+++ b/
include/linux/io_uring_types.h
@@
-233,6
+233,9
@@
struct io_ring_ctx {
unsigned long check_cq;
+ unsigned int file_alloc_start;
+ unsigned int file_alloc_end;
+
struct {
/*
* We cache a range of free CQEs we can use, once exhausted it