Re: [patch for playing] Patch to support 4000 disks and maintain

Roman Zippel (zippel@linux-m68k.org)
Fri, 11 Apr 2003 01:57:30 +0200 (CEST)


Hi,

On Fri, 11 Apr 2003 Andries.Brouwer@cwi.nl wrote:

> The conclusion is that the easy way out is to define MAX_NR_DISKS.
> A different way out, especially when we use 32+32, is to kill this
> sd_index_bits[] array, and give each disk a new number: replace
> index = find_first_zero_bit(sd_index_bits, SD_DISKS);
> by
> index = next_index++;

This one is fun:
http://www.ussg.iu.edu/hypermail/linux/kernel/0103.3/0394.html

Anyway, unless you fix all programs which scan /dev/sg*, you better keep
the used range dense, so this not really option.

bye, Roman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/