Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415486

[PATCH 2/8] nvme: allow transitioning from NEW to LIVE state

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject [PATCH 2/8] nvme: allow transitioning from NEW to LIVE state
Date 2016-06-06 23:30 +0200
Message-ID <rHafV-1OH-65@gated-at.bofh.it> (permalink)
References <rHafT-1OH-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


For Fabrics we're not going through an intermediate reset state
(at least for now).

Reviewed-by: Jay Freyensee <james.p.freyensee@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/nvme/host/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 27cce17..025ac8f 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -85,6 +85,7 @@ bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl,
 	switch (new_state) {
 	case NVME_CTRL_LIVE:
 		switch (old_state) {
+		case NVME_CTRL_NEW:
 		case NVME_CTRL_RESETTING:
 			changed = true;
 			/* FALLTHRU */
-- 
2.1.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

generic NVMe over Fabrics library support Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 5/8] nvme.h: add NVMe over Fabrics definitions Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 8/8] nvme: add keep-alive support Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 2/8] nvme: allow transitioning from NEW to LIVE state Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 4/8] nvme: add fabrics sysfs attributes Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
    Re: [PATCH 4/8] nvme: add fabrics sysfs attributes Johannes Thumshirn <jthumshirn@suse.de> - 2016-06-07 11:00 +0200
      Re: [PATCH 4/8] nvme: add fabrics sysfs attributes Christoph Hellwig <hch@lst.de> - 2016-06-07 13:00 +0200
    Re: [PATCH 4/8] nvme: add fabrics sysfs attributes Christoph Hellwig <hch@lst.de> - 2016-06-07 17:30 +0200

csiph-web