All of lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: [RFC PATCH] nvmet: Back namespace with files
Date: Mon, 13 Mar 2017 12:11:28 -0400	[thread overview]
Message-ID: <20170313161128.GD6994@localhost.localdomain> (raw)
In-Reply-To: <d6291643-c644-5790-4311-3a159d5eecc9@grimberg.me>

On Mon, Mar 13, 2017@10:32:38AM +0200, Sagi Grimberg wrote:
> > Hm, implementation details aside for a second, isn't namespace management
> > more useful on fabrics than pci? It's like managing LUNs on a SAN,
> > but with spec defined commands.
> 
> Not exactly, usually namespace/lun provisioning is something that a
> given host does not typically do or even aware of. Unlike in PCIe,
> in fabrics, the host does not really own "the" subsystem, it just owns
> a virtual subsystem that the target exposed for it.
>
> If we do support namespace management in the linux target, it'd need
> to be emulated somehow, obviously a host cannot simply add
> unprovisioned resources.

Yes, the RFC was light on details, and I'm probably getting ahead of
myself with the file-as-a-namespaces suggestion.

I'd like an NVMe subsystem to be provided a pool of storage that it
may dynamically carve into namespaces and attach to connected hosts as
needed. I also want hosts to do this using the spec defined Namespace
Management commands. That isn't all that unusual from what I hear.

This doesn't really require a filesystem. Maybe LVM is more appropriate,
but I think that'd require userspace to manage the LVs. Still, file backed
namespaces has uses if only for testing purposes, like LIO's FILEIO.

  reply	other threads:[~2017-03-13 16:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 21:35 [RFC PATCH] nvmet: Back namespace with files Keith Busch
2017-03-08 21:35 ` Christoph Hellwig
2017-03-08 22:15   ` Keith Busch
2017-03-08 22:20     ` Christoph Hellwig
2017-03-09 17:41       ` Keith Busch
2017-03-09 17:39         ` Christoph Hellwig
2017-03-13  8:32         ` Sagi Grimberg
2017-03-13 16:11           ` Keith Busch [this message]
2017-03-13 16:07             ` Hannes Reinecke
2017-03-13 16:33             ` Christoph Hellwig
2017-03-13 18:00               ` J Freyensee
2017-03-08 23:24 ` Sagi Grimberg

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=20170313161128.GD6994@localhost.localdomain \
    --to=keith.busch@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.