Skip to contentSkip to conversation

nvme: support multiple namespaces

PATCH Paul Durrant 2 participants 3 messages Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

Hi Klaus,

I may have missed something but are you planning a v2 of your nvme_ns series soon? I just ran into another issue with this version when trying to use non-consecutive nsid value; the code uses an array of ns indexed by the nsid, and using non-consecutive values causes it to wander off the end of the array when trying to look up an ns by nsid.

Cheers,

Paul

#1 lore raw
Quoted 9 lines · Paul Durrant

Hi Klaus,

I may have missed something but are you planning a v2 of your nvme_ns series soon? I just ran into another issue with this version when trying to use non-consecutive nsid value; the code uses an array of ns indexed by the nsid, and using non-consecutive values causes it to wander off the end of the array when trying to look up an ns by nsid.

Hi Paul,

Yes, v2 will be served momentarily!

The issue you are describing is fixed in my tree!

Thanks,
Klaus

#2 lore raw
Quoted 18 lines

-----Original Message-----
From: Klaus Jensen <[email protected]>
Sent: 25 September 2019 13:15
To: Paul Durrant <[email protected]>
Cc: [email protected]; Paul Durrant <[email protected]>
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 16/16] nvme: support multiple namespaces

Quoted 9 lines · Paul Durrant

Hi Klaus,

I may have missed something but are you planning a v2 of your nvme_ns series soon? I just ran into another issue with this version when trying to use non-consecutive nsid value; the code uses an array of ns indexed by the nsid, and using non-consecutive values causes it to wander off the end of the array when trying to look up an ns by nsid.

Quoted 4 lines

Hi Paul,

Yes, v2 will be served momentarily!

Excellent :-)

Quoted 2 lines

The issue you are describing is fixed in my tree!

Cool. I can work around it for the moment, but I'll move onto v2 as soon as you post it.

Thanks,

Paul