public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>
To: Greg KH <greg@kroah.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Joel Becker <Joel.Becker@oracle.com>
Subject: Re: [RFC] randomized major and minor numbers
Date: Fri, 05 Nov 2004 13:46:42 +0100	[thread overview]
Message-ID: <418B7632.4000100@gmx.net> (raw)
In-Reply-To: <20041105085003.GA26457@kroah.com>

Greg KH wrote:
> On Thu, Nov 04, 2004 at 03:03:57PM +0100, Carl-Daniel Hailfinger wrote:
> 
>>Hi,
>>
>>IIRC it was debated during 2.5 development to make the kernel
>>hand out randomized major/minor numbers to better test handling
>>of dynamic major/minor numbers. Is there a patch available
>>to test?
> 
> 
> Not yet, care to make one?  :)

Will do once I have some time.

> Note, any such change, would only be a development aid, and not a
> requirement by any means.

Of course. My intention was to have this available as a testing harness,
possibly configurable under the kernel debug options (not strictly kernel
debugging, but it can help improve the kernel).

Right now I'm not sure whether it is possible to have different drivers
serving the same block major. IIRC there was/is such a limitation, so I
would have to create a new "disk" driver first which would serve as sort
of a multiplexing driver for all block device drivers.


On another note, Joel Becker and I had a private discussion about my
suggested naming scheme and I have to agree with him that it was
suboptimal. However, my main intention was to go forward with a generic
disk access interface and not start a flamewar about naming. Naming is
policy and I'd rather leave that decision to somebody else.


Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/

      reply	other threads:[~2004-11-05 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 14:03 [RFC] randomized major and minor numbers Carl-Daniel Hailfinger
2004-11-05  8:50 ` Greg KH
2004-11-05 12:46   ` Carl-Daniel Hailfinger [this message]

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=418B7632.4000100@gmx.net \
    --to=c-d.hailfinger.kernel.2004@gmx.net \
    --cc=Joel.Becker@oracle.com \
    --cc=greg@kroah.com \
    --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