linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hare@suse.de (Hannes Reinecke)
Subject: [PATCH 5/9] nvme: add ANA support
Date: Fri, 27 Jul 2018 15:20:59 +0200	[thread overview]
Message-ID: <80e32c95-e468-3a79-51db-a344895b0c81@suse.de> (raw)
In-Reply-To: <20180726172056.GA15917@redhat.com>

On 07/26/2018 07:20 PM, Mike Snitzer wrote:
[ .. ]
> 
> I'm at a loss as to why ANA code in host core needs to be wrapped by
> CONFIG_NVME_MULTIPATH (or why the mechanics of ANA support cannot be
> decoupled from multipath.c).  I mean it may keep things clearer for this
> particular implementation but it obviously prevents any more generic ANA
> handling (decoupled from all the CONFIG_NVME_MULTIPATH code).  That is
> likely very much by design.
> 
> Just seems unecessary but yet inkeeping with one NVMe multipath to rule
> them all.  Unfortunate.  Especially in that I thought Hannes had a
> vision for how to keep ANA more analogous to scsi_dh_alua -- meaning
> capabilties are added to influence behavior of NVMe if the NVMe device
> advertises support for those capabilities.
> 
> Making it all so tightly coupled to the CONFIG_NVME_MULTIPATH code is
> obviously easier to reason through and may be appropriate for now (just
> to get it all working).  I just see it as artificially limiting and
> frankly wrong.
> 
I will be checking if ANA support works even though nvme multipathing is
disabled on the kernel commandline.
It really should, given the ANA is property of the target and not
something we can influence.
But making ANA conditional on whether CONFIG_NVME_MULTIPATH is set I
don't have a problem with; after all, this option is for cutting down on
the kernel size, so functionality is allowed to suffer here.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare at suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg
GF: F. Imend?rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG N?rnberg)

  reply	other threads:[~2018-07-27 13:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-26 15:34 draft ANA support v6 Christoph Hellwig
2018-07-26 15:34 ` [PATCH 1/9] nvme.h: add support for the log specific field Christoph Hellwig
2018-07-26 15:34 ` [PATCH 2/9] nvme.h: add ANA definitions Christoph Hellwig
2018-07-26 15:34 ` [PATCH 3/9] nvme: simplify the API for getting log pages Christoph Hellwig
2018-07-26 15:35 ` [PATCH 4/9] nvme: remove nvme_req_needs_failover Christoph Hellwig
2018-07-26 15:35 ` [PATCH 5/9] nvme: add ANA support Christoph Hellwig
2018-07-26 17:20   ` Mike Snitzer
2018-07-27 13:20     ` Hannes Reinecke [this message]
2018-07-27 13:38       ` Mike Snitzer
2018-07-26 15:35 ` [PATCH 6/9] nvmet: keep a port pointer in nvmet_ctrl Christoph Hellwig
2018-07-26 15:35 ` [PATCH 7/9] nvmet: track and limit the number of namespaces per subsystem Christoph Hellwig
2018-07-26 15:35 ` [PATCH 8/9] nvmet: add minimal ANA support Christoph Hellwig
2018-07-26 15:35 ` [PATCH 9/9] nvmet: support configuring ANA groups Christoph Hellwig
2018-07-27  6:06 ` draft ANA support v6 Hannes Reinecke
2018-07-27  7:37   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2018-07-24 11:50 draft ANA support v5 Christoph Hellwig
2018-07-24 11:50 ` [PATCH 5/9] nvme: add ANA support Christoph Hellwig
2018-07-26  2:00   ` Martin K. Petersen
2018-07-26 11:34   ` Johannes Thumshirn
2018-06-01  7:11 draft ANA support v2 Christoph Hellwig
2018-06-01  7:11 ` [PATCH 5/9] nvme: add ANA support Christoph Hellwig
2018-06-04  6:36   ` Hannes Reinecke
2018-06-04  7:03     ` Christoph Hellwig
2018-06-04  9:51       ` Hannes Reinecke
2018-06-04 12:31         ` Mike Snitzer
2018-06-04 13:37           ` Hannes Reinecke
2018-06-06 12:01   ` Popuri, Sriram
2018-06-06 12:13     ` Christoph Hellwig
2018-06-06 12:27       ` Popuri, Sriram
2018-06-06 12:50         ` Christoph Hellwig

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=80e32c95-e468-3a79-51db-a344895b0c81@suse.de \
    --to=hare@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).