[PATCH 0/2] AIO add per-command iopriority

From: adam . manzanares
Date: Mon Apr 30 2018 - 12:58:04 EST


From: Adam Manzanares <adam.manzanares@xxxxxxx>

This patchset interprets the aio_reqprio field of an iocb as a
per-command value iff the RWF_IOPRIO flag is set on the iocb.
This feature is implemented for a block device, but could also be
leveraged by any consumers of the iocb.

See the following link for performance implications on a SATA HDD:
https://lkml.org/lkml/2016/12/6/495

Adam Manzanares (2):
fs: add RWF_IOPRIO
fs: Add aio priority support for block_dev

fs/aio.c | 9 +++++++++
fs/block_dev.c | 1 +
include/linux/fs.h | 4 ++++
include/uapi/linux/fs.h | 5 ++++-
4 files changed, 18 insertions(+), 1 deletion(-)

--
2.15.1