From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: question: deleting blocks Date: Tue, 16 Aug 2011 10:28:03 +0100 Message-ID: <20110816092802.GC4284@ubuntu> References: 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 List-Id: dm-devel.ids On Mon, Aug 15, 2011 at 02:27:56PM -0400, Mikulas Patocka wrote: > BTW. > > When you delete a block in the space map, how do you make sure that the > block is not allocated for another purpose before commit? For the metadata-space-map I allocate from the space map as it was in the last transaction (smm->old_ll). The data space map needs to do the same (for some reason I thought we could get away without it for a while) - it's on the todo list in multisnap.org and was mentioned yesterday. - Joe