* [SPDK] Namespace
@ 2016-10-27 17:57 Kumaraparameshwaran Rathnavel
0 siblings, 0 replies; 4+ messages in thread
From: Kumaraparameshwaran Rathnavel @ 2016-10-27 17:57 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
Hi Guys,
I have a doubt. There are RPC apis to create block devices basically aio and malloc. After adding the block devices from RPC how do you specify the subsystem for the block devices that are added. Is there any API to specify that the created block devices belong to a name space
It's really urgent ! Need your help!
Thanking you,
Param
Sent from my iPhone
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] Namespace
@ 2016-10-27 18:03 Kumaraparameshwaran Rathnavel
0 siblings, 0 replies; 4+ messages in thread
From: Kumaraparameshwaran Rathnavel @ 2016-10-27 18:03 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
I meant how do we specify the subsystem. It's not the namespace. We create devices and how do we specify the subsystem.
Sent from my iPhone
> On 27-Oct-2016, at 11:27 PM, Kumaraparameshwaran Rathnavel <krath(a)cloudsimple.com> wrote:
>
> Hi Guys,
>
> I have a doubt. There are RPC apis to create block devices basically aio and malloc. After adding the block devices from RPC how do you specify the subsystem for the block devices that are added. Is there any API to specify that the created block devices belong to a name space
>
> It's really urgent ! Need your help!
> Thanking you,
> Param
>
> Sent from my iPhone
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] Namespace
@ 2016-10-31 22:21 Daniel Verkamp
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Verkamp @ 2016-10-31 22:21 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
On 10/27/2016 11:03 AM, Kumaraparameshwaran Rathnavel wrote:
> I meant how do we specify the subsystem. It's not the namespace. We create devices and how do we specify the subsystem.
>
>
>
> Sent from my iPhone
>
>> On 27-Oct-2016, at 11:27 PM, Kumaraparameshwaran Rathnavel <krath(a)cloudsimple.com> wrote:
>>
>> Hi Guys,
>>
>> I have a doubt. There are RPC apis to create block devices basically aio and malloc. After adding the block devices from RPC how do you specify the subsystem for the block devices that are added. Is there any API to specify that the created block devices belong to a name space
>>
>> It's really urgent ! Need your help!
>> Thanking you,
>> Param
>>
Hi Param,
Adding block devices to the NVMe over Fabrics target via RPC is a
two-step process. First create the block device using the appropriate
RPC for the block device type, e.g. construct_malloc_bdev, then create a
subsystem to export one or more block devices using
construct_nvmf_subsystem. The subsystem must use Virtual mode if you
would like to export bdevs rather than a direct NVMe controller.
You can find an example of how these RPCs interact in our automated test
scripts, such as test/nvmf/fio/fio.sh.
Note that the construct_*_bdev interfaces were recently changed to
report the name of the bdev that was created in the response. This can
be used to determine the namespaces (bdev names) passed to
construct_nvmf_subsystem.
-- Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [SPDK] Namespace
@ 2016-11-30 18:43 Kumaraparameshwaran Rathnavel
0 siblings, 0 replies; 4+ messages in thread
From: Kumaraparameshwaran Rathnavel @ 2016-11-30 18:43 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
Hi All,
I have been using SPDK.
When I have a virtual subsystem with malloc drives and I have more than one, in the initiator side it will appear as more than one namespace. So I can start performing I/Os simultaneously to both namespaces right. It shouldn't have any restriction right. My doubt is if I can do simultaneously to both namespaces using a single session.
Regards ,
Param.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-30 18:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 22:21 [SPDK] Namespace Daniel Verkamp
-- strict thread matches above, loose matches on Subject: below --
2016-11-30 18:43 Kumaraparameshwaran Rathnavel
2016-10-27 18:03 Kumaraparameshwaran Rathnavel
2016-10-27 17:57 Kumaraparameshwaran Rathnavel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox