« Previous | Next » 

Revision ede6df3d

Parent dd3f81ab
Child e86c9deb

Added by Helga Velroyen over 10 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences