From: Steven Dake <sdake@mvista.com>
To: Horst von Brand <brand@jupiter.cs.uni-dortmund.de>
Cc: LKML <linux-kernel@vger.kernel.org>, brand@eeyore.valparaiso.cl
Subject: Re: New model for managing dev_t's for partitionable block devices
Date: Thu, 30 Jan 2003 09:57:18 -0700 [thread overview]
Message-ID: <3E39596E.4090300@mvista.com> (raw)
In-Reply-To: <200301291425.h0TEPQ9o001322@eeyore.valparaiso.cl>
Horst von Brand wrote:
>Steven Dake <sdake@mvista.com> said:
>
>
>>I was thinking of an entirely new model for partitionable block devices.
>>Here is how it would work:
>>
>>Each physical disk would be assigned a minor number in a group of
>>majors. So assume a major was chosen of 150, 151, 152, 153, there would
>>be a total of 1024 physical disks that could be mapped. Then the device
>>mapper code could be used to provide partition devices in another
>>major/group of majors.
>>
>>The advantage of this technique is that instead of wasting tons of
>>minors on partitions that are never used, partitions could be
>>dynamically allocated out of the minor list, allowing for thousands of
>>disks with varying numbers of partitions each. Further instead of each
>>block device (such as i2o, scsi, etc) having their own set of majors for
>>each partitionable disk (which wastes dev_t address space) everything
>>would be compressed into the same set of majors.
>>
>>
>
>Great idea! Add another partition, and the minors for everything else on
>the system change. Not!
>
It isn't minors that shouldn't change, it is the mapping of the
filesystem device node to those minors. This can be achieved by
properly managing device naming in userspace automatically on partition
updates, instead of using static naming such as /dev/sda which already
has significant problems when devices are removed/inserted in hotswap
environments.
The fact that minors change is irrelevant if proper steps are taken to
ensure that those minors always map to the correct named device in user
space.
Thanks
-steve
>
>
next prev parent reply other threads:[~2003-01-30 16:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-12 11:19 Probably buggy MP Table and ACPI doesn't works AnonimoVeneziano
[not found] ` <200301251135.52356.bp@dynastytech.com>
2003-01-25 18:04 ` AnonimoVeneziano
2003-01-28 17:20 ` New model for managing dev_t's for partitionable block devices Steven Dake
2003-01-28 17:46 ` Valdis.Kletnieks
2003-01-28 17:49 ` Steven Dake
2003-01-29 14:25 ` Horst von Brand
2003-01-30 16:57 ` Steven Dake [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-30 11:53 Andrey Borzenkov
2003-01-30 12:34 ` Alex Tomas
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=3E39596E.4090300@mvista.com \
--to=sdake@mvista.com \
--cc=brand@eeyore.valparaiso.cl \
--cc=brand@jupiter.cs.uni-dortmund.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