History

fs: Add aio iopriority support

This is the per-I/O equivalent of the ioprio_set system call. When IOCB_FLAG_IOPRIO is set on the iocb aio_flags field, then we set the newly added kiocb ki_ioprio field to the value in the iocb aio_reqprio field. This patch depends on block: add ioprio_check_cap function.

Adam Manzanares committed 8 years ago

Commit d9a08a91 parent fc287244 files · +23 −0Browse files

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

Unified · Split

include/uapi/linux/aio_abi.h+1−0
@@ -53,6 +53,7 @@ enum { · 52 unmodified lines
53 * is valid.53 * is valid.
54 */54 */
55#define IOCB_FLAG_RESFD (1 << 0)55#define IOCB_FLAG_RESFD (1 << 0)
56#define IOCB_FLAG_IOPRIO (1 << 1)
56 57
57/* read() from /dev/aio returns these structures. */58/* read() from /dev/aio returns these structures. */
58struct io_event {59struct io_event {