This small series based on for-4.21/block brings improvements to I/O priority hanlding. The main fixes are in patches 5, 6 and 7. These fix BIO and request I/O priority initialization for both the synchronous and asynchronous pathes. Changes from v1: * Removed not very useful comments in patch 5 * Dropped get_task_ioprio() change patch Damien Le Moal (6): aio: Comment use of IOCB_FLAG_IOPRIO aio flag block: Remove bio->bi_ioc block: Introduce get_current_ioprio() aio: Fix fallback I/O priority value block: prevent merging of requests with different priorities block: Initialize BIO I/O priority early block/bio.c | 4 ---- block/blk-core.c | 12 +----------- block/blk-merge.c | 8 ++++++-- block/blk-mq-sched.c | 4 ++-- block/blk-mq-sched.h | 2 +- block/blk-mq.c | 4 ++-- block/blk.h | 16 ---------------- fs/aio.c | 2 +- include/linux/blk_types.h | 3 +-- include/linux/fs.h | 2 +- include/linux/ioprio.h | 13 +++++++++++++ include/uapi/linux/aio_abi.h | 2 ++ 12 files changed, 30 insertions(+), 42 deletions(-) -- 2.19.1