-
In man page, there is an feature |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Note that the flag, just as all other `IORING_FEAT*" flags, is set by the kernel to inform the user space about the behaviour, not the other way around. In other words, you can check it if you need the behaviour, but the user space doesn't control it. struct io_uring_params params;
io_uring_queue_init_params(..., ¶ms);
if (params.features & IORING_FEAT_LINKED_FILE) {
// do linked open + read
} else {
// don't use links
} |
Beta Was this translation helpful? Give feedback.
Note that the flag, just as all other `IORING_FEAT*" flags, is set by the kernel to inform the user space about the behaviour, not the other way around. In other words, you can check it if you need the behaviour, but the user space doesn't control it.