When a device is hot-added to a raid array, the data on that device will not be synchronised with the other devices. The kernel begins to scan the original devices and writes the correct blocks to the new device. This process is known as resyncing.
Normally the kernel will throttle the resync activity (c.f. 'nice') to avoid impacting the raid device performance.
There are times when you may want to control how much I/O bandwidth is allocated to the resync and this is done by writing values to
So to limit the maximum speed at which RAID reconstruction is performed to 5 Mb/s:
echo 5000 > /proc/sys/dev/raid/speed_limit_max
see also: IOSchedulers