Re: [PATCH md 002 of 14] Allow raid1 to check consistency

2005-12-05 Thread Neil Brown
On Thursday December 1, [EMAIL PROTECTED] wrote: NeilBrown [EMAIL PROTECTED] wrote: out_free_pages: - for ( ; i 0 ; i--) - __free_page(bio-bi_io_vec[i-1].bv_page); + for (i=0; i RESYNC_PAGES ; i++) + for (j=0 ; j pi-raid_disks; j++) +

Re: [PATCH md 002 of 14] Allow raid1 to check consistency

2005-12-05 Thread Andrew Morton
Neil Brown [EMAIL PROTECTED] wrote: Would you accept: -- Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output ./mm/swap.c |2 ++ 1 file changed, 2 insertions(+) diff ./mm/swap.c~current~ ./mm/swap.c --- ./mm/swap.c~current~ 2005-12-06

[PATCH md 002 of 14] Allow raid1 to check consistency

2005-11-30 Thread NeilBrown
Where performing a user-requested 'check' or 'repair', we read all readable devices, and compare the contents. We only write to blocks which had read errors, or blocks with content that differs from the first good device found. Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output