io_uring: let to set a range for file slot allocation
[platform/kernel/linux-starfive.git] / include / linux / io_uring_types.h
index 3ca8f36..26ef11e 100644 (file)
@@ -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