LINBIT / linstor-server

High Performance Software-Defined Block Storage for container, cloud and virtualisation. Fully integrated with Docker, Kubernetes, Openstack, Proxmox etc.
https://docs.linbit.com/docs/linstor-guide/
GNU General Public License v3.0
981 stars 76 forks source link

feature request: limit number of active resync jobs #163

Closed ggzengel closed 2 years ago

ggzengel commented 4 years ago

Multiple disk access reduce significant the resyncing speed and slows down the boot up of VMs. It would be much better to configure the number of active resync jobs per storage pool.

raltnoeder commented 4 years ago

Resync is controlled by DRBD, which has no notion of storage pools. DRBD supports global resync priorities (resync this volume first, only afterwards resync that other volume, etc.), but not per storage pool.

ggzengel commented 4 years ago

So, is it possible if no priority given to limit the max number of resync jobs?

rp- commented 2 years ago

No you can only set the drbd-option resync-after and create a chain of resource to sync. But AFIAK DRBD tries to resync in such rates, that it doesn't affect application writes too much. But anyway this is more a issue for DRBD