linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET v2 0/7] blk-mq-sched and sbitmap shallow depth
@ 2018-05-09 20:49 Jens Axboe
  2018-05-09 20:49 ` [PATCH 1/7] blk-mq: don't call into depth limiting for reserved tags Jens Axboe
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Jens Axboe @ 2018-05-09 20:49 UTC (permalink / raw)
  To: linux-block; +Cc: osandov, efault, paolo.valente

Omar had some valid complaints about the previous patchset, mostly
around the fact that we should not be updating depths on a per-IO
basis.  He's right. In fact, BFQ oddly enough does it from the
->limit_depth hook, but the shallow depth counts remain static.

This series cleans that up the ->limit_depth() handling, and keeps it
out of the hot path.

Mike, this should (still) fix your hangs with BFQ. This series is
(functionally) identical to the bundled up version I sent you earlier.

 block/bfq-iosched.c     |  113 +++++++++++++++++++++++++-----------------------
 block/bfq-iosched.h     |    6 --
 block/blk-mq.c          |    6 +-
 block/kyber-iosched.c   |    3 +
 include/linux/sbitmap.h |   11 ++++
 lib/sbitmap.c           |   19 +++++++-
 6 files changed, 95 insertions(+), 63 deletions(-)

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-05-10 16:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-09 20:49 [PATCHSET v2 0/7] blk-mq-sched and sbitmap shallow depth Jens Axboe
2018-05-09 20:49 ` [PATCH 1/7] blk-mq: don't call into depth limiting for reserved tags Jens Axboe
2018-05-09 20:49 ` [PATCH 2/7] bfq-iosched: don't worry about reserved tags in limit_depth Jens Axboe
2018-05-09 20:49 ` [PATCH 3/7] bfq: calculate shallow depths at init time Jens Axboe
2018-05-09 20:49 ` [PATCH 4/7] sbitmap: add helper to inform the core about shallow depth limiting Jens Axboe
2018-05-09 20:49 ` [PATCH 5/7] bfq-iosched: update shallow depth to smallest one used Jens Axboe
2018-05-09 20:49 ` [PATCH 6/7] bfq-iosched: remove unused variable Jens Axboe
2018-05-09 20:49 ` [PATCH 7/7] kyber-iosched: update shallow depth when setting up hardware queue Jens Axboe
2018-05-10  4:32 ` [PATCHSET v2 0/7] blk-mq-sched and sbitmap shallow depth Paolo Valente
2018-05-10 16:20   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).