From: "Eric Van Hensbergen" Subject: Re: [RFC][PATCH] dm-cache: block level disk cache target for device mapper Date: Mon, 27 Nov 2006 13:55:58 -0600 Message-ID: References: <200611271826.kARIQYRi032717@hera.kernel.org> <20061127184748.GA11219@outpost.ds9a.nl> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061127184748.GA11219@outpost.ds9a.nl> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: bert hubert , dm-devel@redhat.com, ming@acis.ufl.edu, Linux Kernel List-Id: dm-devel.ids On 11/27/06, bert hubert wrote: > On Mon, Nov 27, 2006 at 06:26:34PM +0000, Eric Van Hensbergen wrote: > > This is the first cut of a device-mapper target which provides a write-back > > or write-through block cache. It is intended to be used in conjunction with > > remote block devices such as iSCSI or ATA-over-Ethernet, particularly in > > cluster situations. > > How does this work in practice? In other words, what is a typical actual > configuration? > > There is a remote block device, and a local one, and these are kept into > sync in some way? > That's the basic idea. In our testbed, we had a single iSCSI server exporting block devices to several clients -- each maintaining their own local disk cache of the server exported block devices. You can configured either write-through or write-back policies -- write-back has better performance, but somewhat obvious consistency issues in failure cases. The original intent was to combine this with the dm-cow target (which I posted a few hours before the dm-cache patch) to provide a scalable cluster deployment system based on back-end iSCSI or ATA-over-Ethernet storage. -eric