Revision e31c43f7 lib/backend.py
b/lib/backend.py | ||
---|---|---|
575 | 575 |
(disk, size)) |
576 | 576 |
if on_primary or disk.AssembleOnSecondary(): |
577 | 577 |
device.Assemble() |
578 |
device.SetSyncSpeed(30*1024)
|
|
578 |
device.SetSyncSpeed(constants.SYNC_SPEED)
|
|
579 | 579 |
if on_primary or disk.OpenOnSecondary(): |
580 | 580 |
device.Open(force=True) |
581 | 581 |
physical_id = device.unique_id |
... | ... | |
630 | 630 |
|
631 | 631 |
if as_primary or disk.AssembleOnSecondary(): |
632 | 632 |
r_dev = bdev.AttachOrAssemble(disk.dev_type, disk.physical_id, children) |
633 |
r_dev.SetSyncSpeed(30*1024)
|
|
633 |
r_dev.SetSyncSpeed(constants.SYNC_SPEED)
|
|
634 | 634 |
result = r_dev |
635 | 635 |
if as_primary or disk.OpenOnSecondary(): |
636 | 636 |
r_dev.Open() |
Also available in: Unified diff