public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [code] Unlimited partitions, a try
Date: Fri, 05 Oct 2007 15:57:59 -0700	[thread overview]
Message-ID: <4706C177.3010100@zytor.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0710060022530.18723@fbirervta.pbzchgretzou.qr>

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

  reply	other threads:[~2007-10-05 22:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 11:50 [code] Unlimited partitions, a try Jan Engelhardt
2007-10-05 22:11 ` H. Peter Anvin
2007-10-05 22:27   ` Jan Engelhardt
2007-10-05 22:57     ` H. Peter Anvin [this message]
2007-10-05 23:29   ` Alan Cox
2007-10-05 23:29     ` H. Peter Anvin
2007-10-06 19:33       ` Bill Davidsen
2007-10-09 18:15         ` Lennart Sorensen
2007-10-06  8:36     ` Alexander E. Patrakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4706C177.3010100@zytor.com \
    --to=hpa@zytor.com \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox