[dm-devel] dmcache project

Alasdair G Kergon agk at redhat.com
Sat Oct 10 21:02:16 UTC 2009


On Sun, Oct 11, 2009 at 02:06:41AM +0530, ganesh kumar wrote:
>       I am working on the dmcacheio project which is described in the
> http://kernelnewbies.org/KernelProjects/DmCache.I am newbie to he
> kernel modules..kindly give me the ideas to implement the project
> through device mapper.hoping replies
 
Quite a difficult project in my opinion.

I'd suggest first isolating some features that you believe would
contribute to a solution to part of the stated problem and implementing
them as building blocks to use later.   Above that, a complex tunable
logic layer (mostly in userspace perhaps) making the decisions about
which building blocks to use and how to connect and tune them based on
live system information and feedback from small changes it attempts
('experiments') to see if they make the system perform better or worse
(based on clear configurable criteria you'll need to develop).

Start by understanding what we have in dm targets already - both
upstream (snapshots, multipath) and not yet upstream (replication,
raid45, iostats, shared snapshots) and consider ways of hooking into
relevant parts of that by improving or extending interfaces.  (You may
discover some of the building blocks and interfaces you need already
exist.)

Alasdair




More information about the dm-devel mailing list