Re: fr1-2.16 patch for 2.6.10 kernel

[email protected] (Peter T. Breuer)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
In article <[email protected]> you wrote:
> Ok, i tested with your patch : no crash!  but alway this stange behavior 
> : from time to time, faulty disk is not recognised, forcing total 
> resync. The problem occurs randomly. The disk is not accessed during the 
> cycles.

Can you replace:

#ifdef MD_BITMAP_SUPPORT
        /* get the component's superblock */
+       read_disk_sb(rdev);
        sb = (mdp_super_t *)page_address(rdev->sb_page);


(untested - you are guinea pig).

It looks as though one can skip that if rdev->sb_page is non-null and
if rdev->sb_loaded is nonzero. But try that first.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.