Re: [PATCH] 3/5: Device-mapper: snapshots

From: Alasdair G Kergon
Date: Wed Jun 02 2004 - 14:01:24 EST


On Wed, Jun 02, 2004 at 08:06:06PM +0200, Andi Kleen wrote:
> Alasdair G Kergon <agk@xxxxxxxxxx> writes:
> > +/*-----------------------------------------------------------------
> > + * Persistent snapshots, by persistent we mean that the snapshot
> > + * will survive a reboot.
> > + *---------------------------------------------------------------*/

As opposed to the transient snapshot which is lost on power down.

> Is this target supposed to be crash safe? What happens when
> the computer crashes while writing to such a volume?

The intention is for snapshot & origin still to be consistent with each other
on disk. (No barriers yet, but some synchronous writes.)

Alasdair
--
agk@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/