On Tuesday 22 May 2001 22:10, Andreas Dilger wrote: > Peter Braam writes: > > File system journal recovery can corrupt a snapshot, because it > > copies data that needs to be preserved in a snapshot. During > > journal replay such data may be copied again, but the source can > > have new data already. > > The way it is implemented in reiserfs is to wait for existing > transactions to complete, entirely flush the journal and block all > new transactions from starting. Stephen implemented a journal flush > API to do this for ext3, but the hooks to call it from LVM are not in > place yet. This way the journal is totally empty at the time the > snapshot is done, so the read-only copy does not need to do journal > recovery, so no problems can arise. I suppose I'm just reiterating the obvious, but we should eventually have a generic filesystem transaction API at the VFS level, once we have enough data points to know what the One True API should be. -- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: Why side-effects on open(2) are evil.... Jeff Garzik
- Re: Why side-effects on open(2) are ... Oliver Xymoron
- Re: Why side-effects on open(2) are ... Andreas Dilger
- Re: Why side-effects on open(2) ... Malcolm Beattie
- Re: Why side-effects on open(2) ... Andreas Dilger
- Re: Why side-effects on open(2) are evil.... Andreas Dilger
- Re: Why side-effects on open(2) are ... Linus Torvalds
- Re: Why side-effects on open(2) ... Peter J. Braam
- Re: Why side-effects on open(2) ... Andreas Dilger
- Re: Why side-effects on open(2) ... Peter J. Braam
- Re: Why side-effects on open(2) ... Daniel Phillips
- Re: Why side-effects on open(2) ... Hans Reiser
- Re: Why side-effects on open(2) ... Daniel Phillips
- Re: [reiserfs-list] Re: Why side... Hans Reiser
- Re: Why side-effects on open(2) are evil. (was Re: [R... Pavel Machek
- Re: [RFD w/info-PATCH] device arguments from lookup, parti... Linus Torvalds
- Re: [RFD w/info-PATCH] device arguments from lookup, parti... Daniel Phillips
- Re: [RFD w/info-PATCH] device arguments from lookup, parti... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from lookup, ... Andrew Morton
- Re: [RFD w/info-PATCH] device arguments from look... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from lookup, parti... Ben LaHaise