cache_lookup() work this week.

Billy billy at isilon.com
Fri Sep 5 13:51:35 PDT 2003


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





More information about the Kernel mailing list