« Previous | Next » 

Revision ede6df3d

IDede6df3d02a0968c12e4440423eb49abf8eb28d8
Parent dd3f81ab
Child e86c9deb

Added by Helga Velroyen over 7 years ago

Remove duplicate storage units in node query

This is a little performance tweak for the node queries.
So far, the query code mapped the disk templates to storage
units. It could happen that two disk templates were mapped
to the same storage unit and therefore the storage space
information was calculated twice for the same unit. This
patch removes this unecessary double calculation by
filtering for duplicate storage units before invoking the
the RPC call.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences