« Previous | Next » 

Revision 0c3d9c7c

Parent 5bd52dab
Child a57e502a

Added by Thomas Thrainer almost 11 years ago

Replace physical_id with dynamic_params

The disk field 'physical_id' has to be kept up to date whenever a disk
object is sent to a node via RPC. This is done with the SetDiskID method
manually, which is a source of bugs.

This patch replaces the use of 'physical_id' with a new field names
'dynamic_params'. The RPC code is adapted to update this field whenever
a disk object is sent to a node. Furthermore, this field is only ever
set on copies of disk objects which don't get written to the
configuration file. On the node side, the use of 'physical_id' is
removed and the new dynamic parameters are used now for the same

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Jose A. Lopes <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences