Intel 82801ib ich9 smbus controller driver
+++ -546,7 +546,7 static void nvme_free_ns_head(struct kref *ref)Ĭontainer_of(ref, struct nvme_ns_head, ref) Md0 : active (auto-read-only) raid1 nvme5n1ĭrivers/nvme/host/nvme.h | 11 ++++++++++-ģ files changed, 11 insertions(+), 3 deletions(-)ĭiff -git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c md/raid1:md0: Operation continuing on 1 devices.Īnd mdstat shows only the viable members: md/raid1:md0: Disk failure on nvme3n1, disabling device. With the proposed patch, the following messages appear: # echo 1 > /sys/class/nvme/nvme4/delete_controller # echo 1 > /sys/class/nvme/nvme3/delete_controller Now delete all paths to one of the namespaces: md0: detected capacity change from 0 to 66060288 md/raid1:md0: active with 2 out of 2 mirrors # mdadm -create /dev/md0 -level=mirror -raid-devices=2 /dev/nvme3n1 /dev/nvme5n1 nvmet: creating controller 4 for subsystem testnqn2 for NQN hostnqn. nvmet: creating controller 3 for subsystem testnqn2 for NQN hostnqn. # nvme connect -t loop -n testnqn2 -q hostnqn nvmet: creating controller 2 for subsystem testnqn1 for NQN hostnqn. nvmet: creating controller 1 for subsystem testnqn1 for NQN hostnqn. # nvme connect -t loop -n testnqn1 -q hostnqn nvmet: adding nsid 1 to subsystem testnqn2 nvmet: adding nsid 1 to subsystem testnqn1 Observed using a simple nvme loop back (loop setup file not shown): The following is just a simple example that demonstrates what is currently This is the same behavior weĬurrently have with non-multipathed nvme devices. This has been reported to cause problems with some usage, like MD RAID.ĭelete the disk when the last path is gone. To it are dropped rather than when the last path to that disk is lost.
#INTEL 82801IB ICH9 SMBUS CONTROLLER DRIVER CODE#
The multipath code currently deletes the disk only after all references
8:54 ` Christoph Hellwig 0 siblings, 1 reply 21+ messages in threadįrom: Hannes Reinecke 12:04 UTC ( / raw)Ĭc: Sagi Grimberg, Keith Busch, linux-nvme, Keith Busch, Nvme-mpath: delete disk after last connection All of help / color / mirror / Atom feed * nvme-mpath: delete disk after last connection 12:04 Hannes Reinecke