lkml.org 
[lkml]   [2004]   [Apr]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 3 Apr 2004 14:15:39 +0100
FromJamie Lokier <>
SubjectRe: [PATCH] cowlinks v2
Pavel Machek wrote:
> > > 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.

Exactly.  Each of the cow pointers would need to be linked in a doubly
linked list containing them all.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2008