Add test case for IORING_OP_POLL
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#include <linux/fs.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#define IORING_MAX_ENTRIES 4096
|
||||
|
||||
/*
|
||||
* IO submission data structure (Submission Queue Entry)
|
||||
*/
|
||||
@@ -51,6 +53,8 @@ struct io_uring_sqe {
|
||||
#define IORING_OP_FSYNC 3
|
||||
#define IORING_OP_READ_FIXED 4
|
||||
#define IORING_OP_WRITE_FIXED 5
|
||||
#define IORING_OP_POLL 6
|
||||
#define IORING_OP_POLL_CANCEL 7
|
||||
|
||||
/*
|
||||
* sqe->fsync_flags
|
||||
|
||||
Reference in New Issue
Block a user