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

[dm-devel] dm-ramdisk module

Alasdair Kergon,

The MAINTAINERS file shows you as the person with responsibility for device-mapper functions. Hopefully you are the correct person to contact.

I have developed a high-performance ramdisk device-mapper module and wanted to see if there was any interest in it.

In doing work with another proprietary driver, I needed a very fast block device to test and tune against. The system boot ramdisk seemed difficult to use and also seems to suffer performance issues when hammered on multiple threads. Based on the dm-zero module, and the work that I have been doing, throwing together a dm-ramdisk module was pretty easy.

Do you think there is any interest in this module in the main-line kernel or as a teaching tool for device-mapper programmers. If so I would be happy to contribute it.

* In it's current state it is functional on 32-bit and 64-bit x86 kernels.

* It compiles and runs on 2.6.9 thru 2.6.30.

* It will probably work on non-x86 platforms, but needs to be audited to make sure all memory primitives are correct (things like KMAP_ATOMIC usage).

* The source probably needs to be adjusted for source code style, indenting, etc. to match the rest of the kernel.

* It would probably make sense to "over comment" the source code so that it is a good teaching platform for basic device-mapper and bio programming.

This project is a spin-off of a much bigger proprietary device-mapper module. Nothing in the dm-ramdisk module driver is really all that special except that it is a functional ramdisk in less than 300 lines of code.

If you think there is any interest in this simple module, I would be happy to send you a copy (or anyone else for that matter).

Thank you,
Doug Dumitru

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