From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (vpn1-4-78.ams2.redhat.com [10.36.4.78]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r1RA4lqR006909 for ; Wed, 27 Feb 2013 05:04:47 -0500 Date: Wed, 27 Feb 2013 10:04:46 +0000 From: thornber@redhat.com Message-ID: <20130227100446.GB2459@raspberrypi> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [linux-lvm] How does LVM-Cache work? Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: LVM general discussion and development On Tue, Feb 26, 2013 at 03:44:43PM -0300, Leo Antonio wrote: > Hello, everyone. > > I'm willing to do research about second-level cache using SSDs and I think > that the best way to do this is using LVM/Device Mapper, because other > implementations are based on FUSE, virtualization layers, and others. > > What I'm trying to do is to develop a subsystem that will put hot > blocks/PEs on SSDs-Cache, as well as group related blocks/PEs on cache > automatically. Not simply put on SSD the most used files or directories. > > The problem is that I could not find any documentation about DM or LVM to > help my research and development. > > Could you point me to some documentation or what's the best way to > accomplish this? See my dm-cache target in this branch of my tree: https://github.com/jthornber/linux-2.6/tree/thin-dev https://github.com/jthornber/linux-2.6/blob/thin-dev/drivers/md/dm-cache-target.c There's still a lot of work to do on the policy plug-ins, so if you like to get involved that would be great. - Joe