Re: Re: fr1-2.16 patch for 2.6.10 kernel

"Peter T. Breuer" <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
"Also sprach denis bonnenfant:"
> > 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.
> 
> It's better. fast resync 5-6 times successivly, but now,

There' a call to import_device about 20 lines higher up that might do
instead. It has a -1 in the args that means "don't retest the
superblock". If it is changed to 0, it might also work the trick.


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.