Files
kernel/include/linux
NeilBrown ff4e8d9a9f [PATCH] md: fix resync speed calculation for restarted resyncs
We introduced 'io_sectors' recently so we could count the sectors that causes
io during resync separate from sectors which didn't cause IO - there can be a
difference if a bitmap is being used to accelerate resync.

However when a speed is reported, we find the number of sectors processed
recently by subtracting an oldish io_sectors count from a current
'curr_resync' count.  This is wrong because curr_resync counts all sectors,
not just io sectors.

So, add a field to mddev to store the curren io_sectors separately from
curr_resync, and use that in the calculations.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:16 -07:00
..
2006-06-29 08:55:41 +01:00
2006-07-01 07:44:10 -04:00
2006-06-27 17:32:38 -07:00
2006-07-01 09:56:03 -07:00
2006-07-03 15:27:06 -07:00
2006-06-26 09:58:36 -07:00
2006-07-03 19:44:51 -07:00
2006-05-08 16:32:05 -07:00
2006-06-08 15:14:23 -07:00
2006-07-01 09:56:03 -07:00
2006-06-23 02:07:36 -07:00
2006-06-25 10:01:19 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-06-26 01:51:23 -04:00
2006-06-20 20:24:58 -07:00
2006-07-02 17:29:21 -07:00
2006-06-21 12:40:49 -07:00
2006-06-23 07:43:08 -07:00
2006-07-03 15:27:00 -07:00
2006-06-27 01:24:15 -04:00
2006-06-05 12:29:17 -07:00
2006-07-03 15:27:01 -07:00
2006-06-25 10:01:13 -07:00
2006-06-29 16:58:06 -07:00
2006-06-28 16:52:45 -04:00
2006-06-25 10:01:09 -07:00
2006-07-05 23:02:48 -04:00
2006-06-22 15:05:56 -07:00
2006-05-04 06:55:12 +02:00
2006-06-28 15:54:27 -07:00
2006-07-03 19:48:25 -07:00
2006-06-23 07:42:49 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:14 -07:00
2006-06-30 11:25:38 -07:00
2006-06-17 21:29:55 -07:00
2006-07-08 13:34:32 -07:00
2006-06-30 11:25:37 -07:00
2006-06-23 07:43:06 -07:00
2006-06-26 10:51:09 -07:00
2006-06-30 18:25:18 +02:00
2006-07-03 23:30:54 +02:00
2006-07-10 13:24:13 -07:00
2006-07-03 15:27:07 -07:00