linux-sg2042/include/linux/raid
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
..
Kbuild Add generic Kbuild files for 'make headers_install' 2006-06-18 12:14:01 +01:00
bitmap.h [PATCH] md/bitmap: change md/bitmap file handling to use bmap to file blocks 2006-06-26 09:58:38 -07:00
linear.h [PATCH] md: allow a linear array to have drives added while active 2006-06-26 09:58:37 -07:00
md.h [PATCH] md: make md_print_devices() static 2006-06-26 09:58:37 -07:00
md_k.h [PATCH] md: fix resync speed calculation for restarted resyncs 2006-07-10 13:24:16 -07:00
md_p.h [PATCH] md: allow checkpoint of recovery with version-1 superblock 2006-06-26 09:58:37 -07:00
md_u.h [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
multipath.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid0.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid1.h [PATCH] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang. 2006-03-23 07:38:03 -08:00
raid5.h [PATCH] md: merge raid5 and raid6 code 2006-06-26 09:58:37 -07:00
raid10.h [PATCH] md: support stripe/offset mode in raid10 2006-06-26 09:58:37 -07:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00