mbox series

[v2,0/6] Improve I/O priority handling

Message ID 20181120015238.26467-1-damien.lemoal@wdc.com (mailing list archive)
Headers show
Series Improve I/O priority handling | expand

Message

Damien Le Moal Nov. 20, 2018, 1:52 a.m. UTC
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(-)

Comments

Jens Axboe Nov. 20, 2018, 2:04 a.m. UTC | #1
On 11/19/18 6:52 PM, Damien Le Moal wrote:
> 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.

Applied, thanks..