On Tue, May 09, 2006 at 05:37:07PM +0200, Joerg Schilling wrote:
> Wout Mertens <[EMAIL PROTECTED]> wrote:
> > On 07 May 2006, at 17:03, Joerg Schilling wrote:
> > > If ZFS did use my concept, you don't have the problems you have  
> > > with FAT.
> >
> > Yes, but WOFS is a write-once filesystem. ZFS is read-write. What  
> > happens if you delete the file referenced by the inode-softlinks?
> 
> WOFS lives on a Write once medium, WOFS itself is not write once.
> 
> I would need to check my papers.... there is a solution.

If you unlink the original name/inode entry you can mark it as deleted
without actually deleting it, thus leaving extant links to it live and
fresh; you only have to chase down the other links when the original's
directory is removed, though you can do the same to directories,
deferring actual removal to later (at the cost of wasting disk space and
complicating accounting).  And/or you can always lazily update back
references, if you throw in a log, so that you can find those when they
are needed.

Note that this assymetric hard-linking approach makes original links
fast and others slow; this will surely bother someone :)

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to