Description of problem: We should have a way to control self-heal for a disperse volume. At sometime when we have multiple bricks on a node. If a node goes down and comes up, several brick will start healing. This can lead to very high CPU usage and this can hamper ongoing IO. So we should have a mechanism to control heal, this will help in performing lazy heal during peak time and aggressive heal during less load.
REVIEW: https://review.gluster.org/17521 (syncop : Execute "number" of tasks based on priority) posted (#1) for review on master by Ashish Pandey (aspandey)
REVIEW: https://review.gluster.org/17521 (syncop : Execute "number" of tasks based on priority) posted (#2) for review on master by Ashish Pandey (aspandey)
We have come up with a script to control the CPU usage by heal. That will solve the issue. https://review.gluster.org/#/c/glusterfs/+/18404/ *** This bug has been marked as a duplicate of bug 1496335 ***