[libvirt] [PATCH v2 4/4] storage: Fetch a unique key for vHBA/NPIV LUNs

Ján Tomko jtomko at redhat.com
Fri Feb 1 14:58:04 UTC 2019


On Fri, Jan 18, 2019 at 09:42:37AM -0500, John Ferlan wrote:
>https://bugzilla.redhat.com/show_bug.cgi?id=1657468
>
>Commit be1bb6c95 changed the way volumes were stored from a forward
>linked list to a hash table. In doing so, it required that each vol
>object would have 3 unique values as keys into tables - key, name,
>and path. Due to how vHBA/NPIV LUNs are created/used this resulted
>in a failure to utilize all the LUN's found during processing.
>
>During virStorageBackendSCSINewLun processing fetch the key (or
>serial value) for NPIV LUN's using virStorageFileGetNPIVKey which
>will formulate a more unique key based on the serial value and
>the port for the LUN.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> src/storage/storage_util.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190201/f2975ae9/attachment-0001.sig>


More information about the libvir-list mailing list