Skip to contentSkip to conversation

Remove arbitrary md= boot device limit

PATCH New Dave Cinege 1 participant 1 message Jan 29, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove arbitrary md= boot device limit

linux-2.4.1p11-1/drivers/md/md.c
line 3643
-#define MAX_MD_BOOT_DEVS 8
+#define MAX_MD_BOOT_DEVS MAX_MD_DEVS

-------------------------------------------------------
To: Dave Cinege <[email protected]>

Review

Quoted 2 lines · Dave Cinege
(quoted diff) +1 -1
-#define MAX_MD_BOOT_DEVS     8
+#define MAX_MD_BOOT_DEVS     MAX_MD_DEVS

sure this is fine.

Ingo
-------------------------------------------------------
To: Ingo Molnar <[email protected]>

Devices above md8 will not be initialized when speced with md=. Error ("md: Minor device number too high.\n");

The limitation is imposed by

        #define MAX_MD_BOOT_DEVS        8

However it appears arbitray to me. Doesn't make much sence since you can create /dev/md100 and it may well be the only md device you have...

Is there any reason the next 2.4.1 prepatch should not include this?

-#define MAX_MD_BOOT_DEVS 8
+#define MAX_MD_BOOT_DEVS MAX_MD_DEVS

(If not I assume you will be submitting this to Linus...)

Signature · 6 lines
"Nobody will ever be safe until the last cop is dead."
		NH Rep. Tom Alciere - (My new Hero)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/