From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: convert dm-thin to use dm-bufio Date: Fri, 19 Aug 2011 16:37:07 +0100 Message-ID: <20110819153706.GA23736@ubuntu> References: <20110815090416.GE3159@ubuntu> <20110816091600.GA4284@ubuntu> <20110817082656.GA3267@ubuntu> <20110819070435.GA32300@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, "Alasdair G. Kergon" , Mike Snitzer List-Id: dm-devel.ids On Fri, Aug 19, 2011 at 09:31:56AM -0400, Mikulas Patocka wrote: > On Fri, 19 Aug 2011, Mike Snitzer wrote: > > -struct dm_block; > > +#define dm_block dm_buffer > > +#define dm_block_manager dm_bufio_client > > > > But I think it'd be best, in the long run, to have a follow-on patch > > that does away with the aliases and just use the bufio structs > > throughout the code. Anyway, don't need to worry about this now. But > > what you've done is hack that should probably be cleaned up. > > This way, it's easy to swap the original block manager and dm-bufio. > > If I changed the names throughout the whole dm-thinp code, it would > conflict with any changes Joe may do. I agree with Mikulas here.