[PATCH v2 0/6] support mode option for dirtyrate calculation