[dm-devel] question: deleting blocks

Joe Thornber thornber at redhat.com
Tue Aug 16 09:28:03 UTC 2011


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




More information about the dm-devel mailing list