All of lore.kernel.org
 help / color / mirror / Atom feed
* question: deleting blocks
@ 2011-08-15 18:27 Mikulas Patocka
  2011-08-16  9:28 ` Joe Thornber
  0 siblings, 1 reply; 2+ messages in thread
From: Mikulas Patocka @ 2011-08-15 18:27 UTC (permalink / raw)
  To: Edward Thornber; +Cc: dm-devel

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?

Mikulas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: question: deleting blocks
  2011-08-15 18:27 question: deleting blocks Mikulas Patocka
@ 2011-08-16  9:28 ` Joe Thornber
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2011-08-16  9:28 UTC (permalink / raw)
  To: Mikulas Patocka; +Cc: dm-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-16  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 18:27 question: deleting blocks Mikulas Patocka
2011-08-16  9:28 ` Joe Thornber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.