Messages in this thread | | | Date | Fri, 05 Nov 2004 13:46:42 +0100 | From | Carl-Daniel Hailfinger <> | Subject | Re: [RFC] randomized major and minor numbers |
| |
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/ - 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/
| |