Re: [pve-devel] [PATCH] mirror sleep : set sleep to SLICE_TIME/10 (10ms)

2015-07-01 Thread Dietmar Maurer
applied. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] mirror sleep : set sleep to SLICE_TIME/10 (10ms)

2015-07-01 Thread Alexandre Derumier
Current make too much sleep because if (now - last_pause_ns > SLICE_TIME) { last_pause_ns = now; block_job_sleep_ns(&s->common, QEMU_CLOCK_REALTIME, SLICE_TIME); so, we sleep SLICE_TIME, then at next iteration if lastpause("SLICE_TIME") > SLICE_TIME, we sleep again. So, it almo