SD_MAX_DISKS is arbitrarily limited to the number of scsi disks in the
namespace constructed of "sd" followed by one to three of the letters
a-z, or 18278 disks. There is no need for this limit, since appending
a fourth letter works perfectly fine. This simple patch just bumps the
number up to allow up to four letters after "sd". It might be best to
simply remove the test against SD_MAX_DISKS, but this is the patch that
has been unit tested.
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
* This is limited by the naming scheme enforced in sd_probe,
* add another character to it if you really need more disks.
*/
-#define SD_MAX_DISKS (((26 * 26) + 26 + 1) * 26)
+#define SD_MAX_DISKS ((((26 * 26) + 26 + 1) * 26 + 1) * 26)
/*
* Time out in seconds for disks and Magneto-opticals (which are slower).