From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: [PATCH] dm-bufio Date: Mon, 17 Oct 2011 17:41:13 +0100 Message-ID: <20111017164110.GB14913@ubuntu> References: <20111017111128.GF13963@ubuntu> <20111017140947.GA10136@ubuntu> 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: device-mapper development Cc: Mike Snitzer , "Alasdair G. Kergon" List-Id: dm-devel.ids On Mon, Oct 17, 2011 at 12:22:13PM -0400, Mikulas Patocka wrote: > > thinp uses dm_bufio_release_move() and write_callback. So yes, this > > is a bug fix. I thought so and merged. > > BTW. it still uses the old block number in "prepare_for_write" callback. > Do you use this block number somewhere? Should we link the buffer to the > new block before the call and the link it back? Good catch, let me look into it. - Joe