Hi folks, hi Giacomo, On Fri, Sep 05, 2008 at 02:32:58PM +0200, Giacomo Graziosi wrote: > I'd like to know if it is possible to mount every checkpoint at once, > something like the .zfs/snapshot/ folder used by ZFS (which contains a > folder linked to every snapshot, readonly) but for the checkpoints.
i like the HAMMER fs feature of referencing to every file by checkpoint/snapshot number: dir/file@@14532 gives checkpoint 14532's version of `file' or rootdir@@13 for checkpoint 13's version of the rootdir. HAMMER's `undo(1)' is thus very neat and easy to implement. In NilFS it would mean looking up the IFILE for the checkpoint and fetch the same inode... or walk the tree to the same name... effectively making checkpoint X a temporary snapshot, mounting it somewhere and then returning the vnode/inode for that looked up file. Thats going to be fun to implement. OR allways load/keep all checkpoints/snapshots IFILE for the referencing game. Hmmm..... As for your question, snapshots ok, but checkpoints? hmm.... it would need refcounting for references to its files to prevent the garbage collector to wreak havoc... So, yes, its possible, but easy? there are some `interesting' issues to solve :-D BTW, HAMMERs undo(1) saves heaps of tools to be patched for earlier file referencing. With regards, Reinoud
pgpExFTb9wMpO.pgp
Description: PGP signature
_______________________________________________ users mailing list [email protected] https://www.nilfs.org/mailman/listinfo/users
