[ENBD] raid0 over ENBD: SMP problem?

Pierre Berthier enbd@lists.community.tummy.com
Tue, 28 May 2002 04:21:35 -0700 (PDT)


Dear Arne,

many thanks, it works. Actually I had not noticed 2.4.28 is now the
stable version. Should I use it? It seems to me that this patch is
included, but I'm not an expert :-) Is there any known problem
introduced with 2.4.28 compared to 2.4.27?

Thanks
Pierre

--- Arne Wiebalck <wiebalck@kip.uni-heidelberg.de> wrote:
> hi,
> 
> some time ago I also experienced some stability problems which we
> (peter
> and I) think were due to smp. I had these problems even in a point
> to point setup.
> peter helped me out with this little patch, which I applied to
> 2.4.27, the
> version you are currently using:
> 
> --- nbd-2.4.28/linux/include/linux/nbd.hMon Mar 25 00:27:03 2002
> +++ nbd-2.4.29/linux/include/linux/nbd.hFri Mar 29 21:41:39 2002
> @@ -425,8 +425,8 @@
>             if (!end_that_request_first (req, uptodate,
> DEVICE_NAME))
>                 break;
>         }
> -       NBD_spin_unlock_irqrestore(&io_request_lock, flags);
>         end_that_request_last( req );
> +       NBD_spin_unlock_irqrestore(&io_request_lock, flags);      }
>     /*
> 
> since that time my setup, also using the software RAID as you do,
> works
> _very_ stable and survived all torture tests I did ...
> 
> so, you may try that patch.
> 
> best regards,
>  arne
> 


=====
Pierre Berthier
Computational and Molecular Population Genetics
Zoologisches Institut, Universität Bern, Baltzerstrasse 6, 3012 Bern
Switzerland 
Tel: +41 31 631 30 28  Fax: +41 31 631 31 88

http://cmpg.unibe.ch/people/berthier.htm

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com