[SPDK] Re: Can nvmeof device add more namespaces(bdev) dynamically?

Harris, James R <james.r.harris at intel.com> Wed, 15 Jun 2022 16:43:17 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <BYAPR11MB3303C8B1918C2832D04A69A9DEAD9@BYAPR11MB3303.namprd11.prod.outlook.com>
--===============5720118280373081679==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi,

The SPDK nvme bdev module listens for asynchronous event notifications (AEN=
s).  A well-functioning NVMe controller will send an AEN to the host when n=
amespaces have been attached.  When the nvme bdev module receives the AEN, =
it will automatically rescan the nvme controller and register any new names=
paces as bdevs.

Best regards,

Jim


From: Jacky =E5=85=83=E5=82=91 <jacky8lu(a)yahoo.com.tw>
Date: Tuesday, June 14, 2022 at 7:17 PM
To: spdk(a)lists.01.org <spdk(a)lists.01.org>
Subject: [SPDK] Can nvmeof device add more namespaces(bdev) dynamically?
Hey guys,
I have a question.
The  bdev_nvme_attach_controller  add all namespaces of this nvme as bdevs.=
I have created some namespaces attach to  system,  then I create more ns at=
 the same nvme later. How can I re-scan the nvme ctrl  new namespace as bde=
v?It is easy to re-attach again, but the former namespaces(bdev) are in-usi=
ng.
Thank you
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

--===============5720118280373081679==--