DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cache_lookup() work this week.


From: Billy <billy@xxxxxxxxxx>
Date: Fri, 5 Sep 2003 13:55:45 -0700

On Fri, Sep 05, 2003 at 10:09:53AM -0700, Matthew Dillon wrote:

>     Yup.  The issue with preventing cycles... and I think it is a good
>     idea to prevent cycles... but the issue is that while you can prevent
>     a cycle from occuring at the time you create the hard link, how do you
>     prevent a cycle from occuring due to a later rename of some parent directory?
>     Short of scanning the entire subhiearchy when renaming I see no way to 
>     detect the cycle.
> 

Are we at some point going to incorporate background fsck.  If so we could make fsck
work like a garbage collector and do some sort of mark and sweep check for cycles.

-billy



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]