David Masover wrote on Tue, 17 May 2005 17:51:20 -0500:
> How much of a price do I pay?  And could that price be avioded by only
> enabling those features for directories where I want them?  Could that
> be done easily in Reiser4?

Interesting point.  A lot of those features require that file system
objects know which directories they are in (or whatever their parent
objects actually are, just think of them as directories for now).
That means extra pointers in each object back to all the parents it
belongs to.

Your idea leads to the idea of having both singly linked file system
objects and doubly linked ones.  Then when deleting items, the singly
linked subtrees don't need to have the full traversal to check for
cycles.  I'd leave that as a later optimization, if needed.

> My mind isn't able to easily wrap itself around the point of having this
> strange new kind of hard-links, but I'm willing to try it if there's no
> performance hit for the rest of my system.

The file creation and deletion time will be slower.  But hopefully not
by much, and that's about all that's affected.  The plus side is that
with the extra classifications (photos filed in both "Cottage" and "Aunt"
directories) you'd be able to find your data more easily!

- Alex

Reply via email to