On Saturday June 3, [EMAIL PROTECTED] wrote:
> On Fri, Jun 02, 2000 at 08:19:40AM +1000, Neil Brown wrote:
> >
> > Note:
> > In 2.2 all filesystems go through the buffer cache, so they don't
> > have a problem. Only swap doesn't and it doesn't whether you are
> > swapping to a device or to a file.
> > In 2.3, the buffer cache is largely sidelined in favour of the page
> > cache, and this is, in part, why the rebuild code is totally
> > different in 2.3.99pre8+
> >
> now does anyone who looked at the 2.3/2.4 code know what exactly is the status
> for the latest kernels??
>
> Regards
> Luca
I wrote the reconstruction code that is 2.3/2.4.
It doesn't use the buffer cache at all, and swapping to RAID should be
perfectly safe.
(In the current release, there is still a possibility of deadlock if
memory gets very tight. I have a bunch of patches that fix this, but
I haven't heard back from mingo yet.)
NeilBrown