Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: axboe@kernel.dk (Jens Axboe)
Subject: [PATCHv3] NVMe: Automatic namespace rescan
Date: Fri, 05 Jun 2015 10:37:56 -0600	[thread overview]
Message-ID: <5571D064.4020405@kernel.dk> (raw)
In-Reply-To: <1433190494-19375-1-git-send-email-keith.busch@intel.com>

On 06/01/2015 02:28 PM, Keith Busch wrote:
> Namespaces may be dynamically allocated and deleted or attached and
> detached. This has the driver rescan the device for namespace changes
> after each device reset or namespace change asynchronous event.
>
> There could potentially be many detached namespaces that we don't want
> polluting /dev/ with unusable block handles, so this will delete disks
> if the namespace is not active as indicated by the response from identify
> namespace. This also skips adding the disk if no capacity is provisioned
> to the namespace in the first place.

Looks good to me. I'll apply this, and then I should also respin the 
patch to detach namespaces dynamically on top of this.

-- 
Jens Axboe

  reply	other threads:[~2015-06-05 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01 20:28 [PATCHv3] NVMe: Automatic namespace rescan Keith Busch
2015-06-05 16:37 ` Jens Axboe [this message]
2015-06-05 17:26   ` Busch, Keith
2015-06-05 17:35     ` Jens Axboe

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=5571D064.4020405@kernel.dk \
    --to=axboe@kernel.dk \
    /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