adjust GEOM rebuild notifications to only notify the user when raid rebuild hits 25% increments
When a geom rebuild is occurring, this script by default notices that the device status has changed every time the rebuild hits a new percentage. This results in a user getting 100 separate notifications (emails) every time a new percentage ticks.
This patch will change that behavior, so a user only gets notified at 0%, 25%, 50%, 75% and 100%. This should not effect any other notification behavior.
(cherry picked from commit 059538adbb27c7671741944b488145610b5fcb63)
adjust GEOM rebuild notifications to only notify the user when raid rebuild hits 25% increments
When a geom rebuild is occurring, this script by default notices that the device status has changed every time the rebuild hits a new percentage.
This results in a user getting 100 separate notifications (emails) every time a new percentage ticks.
This patch will change that behavior, so a user only gets notified at 0%, 25%, 50%, 75% and 100%. This should not effect any other notification behavior.
(cherry picked from commit 059538adbb27c7671741944b488145610b5fcb63)