Re: [PATCH] cowlinks v2

From: Pavel Machek
Date: Sat Apr 03 2004 - 03:24:57 EST


Hi!

> > Could you not change it back to a normal inode when refcount becomes 1?
>
> You can only do that if the cowid object has a pointer to the last
> remaining reference to it. That's possible, but more complicated and
> would incur a little more I/O per cow operation.

You'd have to have pointers to all references to it... because you
can't tell in advance which one will be the last to go away.

But I agree its not a big problem.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/