K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-14T11:56:45.941221Z K 7 svn:log V 653 Rework idle events scheduling. Call idle() trasfotmation method for the volume with no active payload requests with fixed period of idle_threshold, instead of measuring that time from the last (probably internal) activity. That change allows to reach full rebuild/resync speed supported by the disk. Also it makes tunables closer related to some real world values. Maximum speed for idle disk now is rebuild_slab_size * rebuild_cluster_idle per idle_threshold interval. With present settings it is 100MB/s. When disk is busy - rebuild does one rebuild_slab_size sized transaction every rebuild_fair_io payload requests. Now it is 1MB per 20 requests. END