[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1484170803-9311-1-git-send-email-axboe@fb.com>
Date: Wed, 11 Jan 2017 14:39:53 -0700
From: Jens Axboe <axboe@...com>
To: <linux-kernel@...r.kernel.org>, <linux-block@...r.kernel.org>
CC: <osandov@...ndov.com>, <bart.vanassche@...disk.com>
Subject: [PATCHSET v6] blk-mq scheduling framework
Another year, another posting of this patchset. The previous posting
was here:
https://www.spinics.net/lists/kernel/msg2406106.html
(yes, I've skipped v5, it was fixes on top of v4, not the rework).
I've reworked bits of this to get rid of the shadow requests, thanks
to Bart for the inspiration. The missing piece, for me, was the fact
that we have the tags->rqs[] indirection array already. I've done this
somewhat differently, though, by having the internal scheduler tag
map be allocated/torn down when an IO scheduler is attached or
detached. This also means that when we run without a scheduler, we
don't have to do double tag allocations, it'll work like before.
The patchset applies on top of 4.10-rc3, or can be pulled here:
git://git.kernel.dk/linux-block blk-mq-sched.6
block/Kconfig.iosched | 50 ++++
block/Makefile | 3
block/blk-core.c | 19 -
block/blk-exec.c | 3
block/blk-flush.c | 15 -
block/blk-ioc.c | 12
block/blk-merge.c | 4
block/blk-mq-sched.c | 354 +++++++++++++++++++++++++++++
block/blk-mq-sched.h | 157 ++++++++++++
block/blk-mq-sysfs.c | 13 +
block/blk-mq-tag.c | 58 ++--
block/blk-mq-tag.h | 4
block/blk-mq.c | 413 +++++++++++++++++++---------------
block/blk-mq.h | 40 +++
block/blk-tag.c | 1
block/blk.h | 26 +-
block/cfq-iosched.c | 2
block/deadline-iosched.c | 2
block/elevator.c | 247 +++++++++++++++-----
block/mq-deadline.c | 569 +++++++++++++++++++++++++++++++++++++++++++++++
block/noop-iosched.c | 2
drivers/nvme/host/pci.c | 1
include/linux/blk-mq.h | 9
include/linux/blkdev.h | 6
include/linux/elevator.h | 36 ++
25 files changed, 1732 insertions(+), 314 deletions(-)
--
Jens Axboe
Powered by blists - more mailing lists