Re: [code] Unlimited partitions, a try

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
On Oct 5 2007 15:11, H. Peter Anvin wrote:
Jan Engelhardt wrote:
15 partitions (at least for sd_mod devices) are too few.
Now when we have 20-bit minors, can't we simply recycle some of the higher bits for additional partitions, across the board? 63 partitions seem to have been sufficient; at least I haven't heard anyone complain about that for 15 years.

GPT allows up to 128 partitions, and the linux partition code currently allows for up to MAX_PART (256). Assuming 1048576/128, that would give 8192 disks. With dynamic minor allocation and reuse, all that goes away and the limit becomes a bit less than 1048576 _partitions_.

Yes, but you're proposing something with substantially higher switch threshold...

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux