Re: [PATCH] md linear: Protecting mddev with rcu locks to avoid races in

Neil Brown
2009-06-17T10:01:17Z

On Wednesday June 17, sjt.kar@gmail.com wrote:
> Sorry what your patch claims is that the raid array can change the number of
> array's otherwise there is no need for an rcu.
>
> > What makes you think that md is static when you array itself can grow.
> > md contains information pertaining to the array it holds.
>
> This is what I saying my the md is built statically on top of the raid.

md/linear allows an array to grow while it is only. You can add a
drive to a 'linear' array and it will become larger to include that
drive. So the array is not completely static.

NeilBrown