Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: [PATCH] nvme: Add error checking in nvme_create_io_queues
Date: Thu, 24 Sep 2015 19:23:27 +0000 (UTC)	[thread overview]
Message-ID: <alpine.LNX.2.00.1509241920360.23840@localhost.lm.intel.com> (raw)
In-Reply-To: <1443118811-2153-1-git-send-email-jonathan.derrick@intel.com>

On Thu, 24 Sep 2015, Jon Derrick wrote:
> allow nvme_create_io_queues to return an error if the first io queue
> fails to be allocated or initialized

If the driver gets far enough to attempt creating IO queues, the device
can be managed so I don't think we want to error out and bail on the
device in this scenario, even though it is not IO capable.

> Signed-off-by: Jon Derrick <jonathan.derrick at intel.com>
> ---
> drivers/block/nvme-core.c | 20 ++++++++++++++++----
> 1 file changed, 16 insertions(+), 4 deletions(-)

  reply	other threads:[~2015-09-24 19:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 18:20 [PATCH] nvme: Add error checking in nvme_create_io_queues Jon Derrick
2015-09-24 19:23 ` Keith Busch [this message]
2015-09-24 19:41   ` Jon Derrick
2015-09-27  6:39   ` Christoph Hellwig
2015-09-28 13:50     ` Keith Busch
2015-09-28 14:23       ` Christoph Hellwig
2015-09-28 14:35         ` Keith Busch

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=alpine.LNX.2.00.1509241920360.23840@localhost.lm.intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox