Linux Device Mapper development
 help / color / mirror / Atom feed
From: Sagi Grimberg <sagig@dev.mellanox.co.il>
To: Mike Snitzer <snitzer@redhat.com>, lsf-pc@lists.linux-foundation.org
Cc: linux-block@vger.kernel.org, dm-devel@redhat.com
Subject: Re: [LSF/MM ATTEND] plan to deprecate old .request_fn request-based code path?
Date: Wed, 13 Jan 2016 13:16:03 +0200	[thread overview]
Message-ID: <569631F3.1060106@dev.mellanox.co.il> (raw)
In-Reply-To: <20160112185947.GA29176@redhat.com>


> Hi,
>
> I'd like to attend LSF/MM and as the subject covers I'd like to at least
> participate in a discussion about plans (realistic or not) for
> removing/deprecating the old .request_fn path in block core and block
> drivers.
>
> The request-based DM code (only used for multipath) has gotten more
> complex to support both old .request_fn and blk-mq (and stacking
> combinations: .request_fn ontop of blk-mq paths, blk-mq ontop of
> .request_fn paths).  Simplifying DM core in this area would be nice.
>
> One of the hurdles has been blk-mq doesn't yet have a scheduler.  I know
> Jens had/has something in the works.  But there is also the question of
> whether DM's top-level blk-mq request_queue should be trained to
> leverage/stack underlying blk-mq request_queue capabilities (Keith Busch
> was going to look at this aspect in the context of multipath on NVMe but
> I never heard anything from Keith on that).  As of now DM multipath's
> blk-mq request_queue only supports a single (virtual) hw queue.

I strongly agree we can do better here. Initial measurements of
request-based DM multipath over the (soon to come) nvme-loop driver
shows improvement from the bio-based code, but instrumentation reveals
we have plenty of room for improvement.

      parent reply	other threads:[~2016-01-13 11:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 18:59 [LSF/MM ATTEND] plan to deprecate old .request_fn request-based code path? Mike Snitzer
2016-01-12 23:39 ` Mikulas Patocka
2016-01-13  8:21   ` Hannes Reinecke
2016-01-13 11:02     ` Alasdair G Kergon
2016-01-15 15:28     ` Benjamin Marzinski
2016-01-15 16:19       ` Mike Snitzer
2016-01-13 11:16 ` Sagi Grimberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=569631F3.1060106@dev.mellanox.co.il \
    --to=sagig@dev.mellanox.co.il \
    --cc=dm-devel@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=snitzer@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox