On Tue, 30 Jan 2001, Neil Brown wrote:
> > -#define MAX_MD_BOOT_DEVS 8
> > +#define MAX_MD_BOOT_DEVS MAX_MD_DEVS
> Actually, this is not fine. Check the code that says:
indeed - it will work only up to 32 devices.
i've fixed the code to not have this assumption - it's init-time code only
anyway. There are also a few other cleanups in raid-2.4.1-B1:
- CONFIG_MD_BOOT gone. __init thing and people actually use it.
- CONFIG_AUTODETECT_RAID gone. __init thing, and can be turned off via
command-line. Needs special partition ID to be activated anyway.
- static-init cleanups (no need to initialize to zero)
- new RAID_AUTORUN ioctrl for initrd kernels to be able to start up
autostart arrays.
code is cleaner and simpler now. The patch removes a total of 7 lines,
while adding a new feature :-)
Dave, does this patch do the trick for you? (raid-2.4.1-B1 is against the
2.4.1-pre11 kernel.)
Ingo
This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:33 EST