lkml.org 
[lkml]   [2004]   [Apr]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 02 Apr 2004 17:00:32 -0500
FromChris Friesen <>
SubjectRe: [PATCH] cowlinks v2
Pavel Machek wrote:

> Actually, my solution has one weirdness...
> 
> 
>>a
> 
> copyfile a b
> rm a
> 
> ...now b has pointer to cowid with usage count of 1. Which is slightly
> ugly (and wastes one cowid entry), but should be harmless.

Could you not change it back to a normal inode when refcount becomes 1? 
  Or if you didn't want to do that always (say if you knew there would 
be more references being created soon) you could at least have some kind 
of cleanup tool that you could manually run on a filesystem to clean it up?

Chris
-
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 13:02    [from the cache]
©2003-2008